More configuration progression
This commit is contained in:
parent
b00e1c1c9d
commit
9c5f454a1c
17 changed files with 213 additions and 59 deletions
|
@ -5,12 +5,19 @@
|
|||
nixpkgs,
|
||||
inputs,
|
||||
modules,
|
||||
user,
|
||||
}: builtins.listToAttrs (builtins.map (host: {
|
||||
name = host;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = modules ++ [ ../hosts/${host} ];
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = modules ++ [
|
||||
../hosts/${host}
|
||||
../modules/nixos/user/${user}.nix
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit lib;
|
||||
};
|
||||
};
|
||||
}) (lib.getDirsInDir ../hosts));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue