pad
This commit is contained in:
parent
7c51db8359
commit
597bd5cc75
2 changed files with 7 additions and 0 deletions
|
|
@ -86,6 +86,11 @@
|
||||||
nixosConfigurations = lib.pipe ./hosts [
|
nixosConfigurations = lib.pipe ./hosts [
|
||||||
builtins.readDir
|
builtins.readDir
|
||||||
(lib.filterAttrs (_: type: type == "directory"))
|
(lib.filterAttrs (_: type: type == "directory"))
|
||||||
|
(lib.filterAttrs (
|
||||||
|
name: _:
|
||||||
|
builtins.pathExists ./hosts/${name}/default.nix
|
||||||
|
&& builtins.pathExists ./hosts/${name}/hardware-configuration.nix
|
||||||
|
))
|
||||||
(builtins.mapAttrs (name: _: makeHost name (systemFromHardwareConf name)))
|
(builtins.mapAttrs (name: _: makeHost name (systemFromHardwareConf name)))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
2
hosts/lilith-pad/default.nix
Normal file
2
hosts/lilith-pad/default.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
{...}: {
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue