parent
fb5d4d46f8
commit
6cb66d86d2
153 changed files with 2078 additions and 3094 deletions
|
@ -2,15 +2,23 @@
|
|||
|
||||
{
|
||||
mkHosts = {
|
||||
modules,
|
||||
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 lib;
|
||||
username = user;
|
||||
cfgPath = ../.;
|
||||
};
|
||||
};
|
||||
}) (lib.getDirsInDir ../hosts));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue