2020-04-27 03:21:12 +04:00
|
|
|
{
|
2020-04-27 05:39:00 +04:00
|
|
|
description =
|
|
|
|
"A collection of crap, hacks and copy-paste to make my localhosts boot";
|
2020-04-27 03:21:12 +04:00
|
|
|
|
|
|
|
edition = 201909;
|
|
|
|
|
2020-04-27 05:39:00 +04:00
|
|
|
inputs = {
|
2020-04-30 15:33:26 +04:00
|
|
|
nixpkgs-mopidy = {
|
|
|
|
type = "github";
|
|
|
|
owner = "NickHU";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
ref = "mopidy";
|
|
|
|
flake = false;
|
|
|
|
};
|
2020-04-27 05:39:00 +04:00
|
|
|
NUR = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nix-community";
|
|
|
|
repo = "NUR";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
base16-unclaimed-schemes = {
|
|
|
|
type = "github";
|
|
|
|
owner = "chriskempson";
|
|
|
|
repo = "base16-unclaimed-schemes";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
home-manager = {
|
|
|
|
type = "github";
|
|
|
|
owner = "rycee";
|
|
|
|
repo = "home-manager";
|
|
|
|
ref = "bqv-flakes";
|
|
|
|
};
|
|
|
|
materia-theme = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nana-4";
|
|
|
|
repo = "materia-theme";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
mtxclient = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nheko-reborn";
|
|
|
|
repo = "mtxclient";
|
2020-05-06 00:55:25 +04:00
|
|
|
ref = "v0.3.0";
|
2020-05-04 13:58:14 +04:00
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
tweeny = {
|
|
|
|
type = "github";
|
|
|
|
owner = "mobius3";
|
|
|
|
repo = "tweeny";
|
2020-04-27 05:39:00 +04:00
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
nheko = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nheko-reborn";
|
|
|
|
repo = "nheko";
|
2020-05-06 00:55:25 +04:00
|
|
|
ref = "v0.7.1";
|
2020-04-27 05:39:00 +04:00
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
nixpkgs-old = {
|
|
|
|
type = "github";
|
|
|
|
owner = "nixos";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
ref = "nixos-19.03";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
weechat-scripts = {
|
|
|
|
type = "github";
|
|
|
|
owner = "weechat";
|
|
|
|
repo = "scripts";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
simple-nixos-mailserver = {
|
|
|
|
type = "git";
|
|
|
|
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver";
|
|
|
|
ref = "master";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
nixpkgs-wayland = {
|
|
|
|
type = "github";
|
|
|
|
owner = "colemickens";
|
|
|
|
repo = "nixpkgs-wayland";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
weechat-notify-send = {
|
|
|
|
type = "github";
|
|
|
|
owner = "s3rvac";
|
|
|
|
repo = "weechat-notify-send";
|
|
|
|
flake = false;
|
|
|
|
};
|
2020-04-27 19:48:28 +04:00
|
|
|
yt-utilities = {
|
|
|
|
type = "git";
|
|
|
|
url = "ssh://git@github.com/serokell/yt-utilities";
|
|
|
|
ref = "flake";
|
|
|
|
};
|
2020-04-28 21:48:57 +04:00
|
|
|
mobile-broadband-provider-info = {
|
|
|
|
type = "git";
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info";
|
|
|
|
flake = false;
|
|
|
|
};
|
2020-05-06 00:55:25 +04:00
|
|
|
nixos-fhs-compat = {
|
|
|
|
type = "github";
|
|
|
|
owner = "balsoft";
|
|
|
|
repo = "nixos-fhs-compat";
|
|
|
|
};
|
2020-04-27 05:39:00 +04:00
|
|
|
};
|
2020-04-27 03:21:12 +04:00
|
|
|
|
2020-04-28 21:48:57 +04:00
|
|
|
outputs = { nixpkgs, nix, ... }@inputs: {
|
2020-04-27 05:39:00 +04:00
|
|
|
nixosConfigurations = with nixpkgs.lib;
|
|
|
|
let
|
|
|
|
hosts = map (fname: builtins.head (builtins.match "(.*)\\.nix" fname))
|
|
|
|
(builtins.attrNames (builtins.readDir ./hardware-configuration));
|
|
|
|
mkHost = name:
|
|
|
|
nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [ (import ./default.nix) ];
|
|
|
|
specialArgs = { inherit inputs name; };
|
|
|
|
};
|
|
|
|
in genAttrs hosts mkHost;
|
2020-04-27 03:21:12 +04:00
|
|
|
};
|
|
|
|
}
|