fix
This commit is contained in:
parent
75f8b9fa71
commit
5c6bb2745d
5 changed files with 10 additions and 16 deletions
12
flake.nix
12
flake.nix
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue