1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-08-18 20:11:43 +02:00
parent 75f8b9fa71
commit 5c6bb2745d
5 changed files with 10 additions and 16 deletions

View file

@ -34,12 +34,14 @@
({lib, ...}: {networking.hostName = lib.mkDefault name;})
];
};
genHosts = (nixpkgs.lib.pipe (builtins.readDir ./hosts) [
(nixpkgs.lib.filterAttrs (name: type: type == "directory" && name != "default.nix"))
builtins.attrNames
nixpkgs.lib.genAttrs
]);
in
nixpkgs.lib.genAttrs [
"abacus"
"vessel"
]
commonNixosSystem;
genHosts commonNixosSystem;
};
perSystem = {