fix: add nixos module imports
This commit is contained in:
parent
f814654e10
commit
f2f2b34e80
|
@ -10,4 +10,10 @@
|
|||
else { });
|
||||
}) (builtins.attrNames (builtins.readDir ./.)))
|
||||
) ];
|
||||
|
||||
imports = lib.pipe ./. [
|
||||
builtins.readDir
|
||||
(lib.filterAttrs (n: ty: ty == "directory" && builtins.pathExists ./${n}/nixos.nix))
|
||||
(lib.mapAttrsToList (n: _: ./${n}/nixos.nix))
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue