Add extra function for lib, and refactor with loadImports
This commit is contained in:
parent
317a2b4a28
commit
2c997cddce
28 changed files with 111 additions and 204 deletions
|
|
@ -1,15 +1,3 @@
|
|||
{
|
||||
imports = [
|
||||
./containers
|
||||
./deploy
|
||||
./nix.nix
|
||||
./home.nix
|
||||
./sops.nix
|
||||
./i18n.nix
|
||||
./gui
|
||||
./programs
|
||||
./hardware.nix
|
||||
./virtualisation
|
||||
./documentation.nix
|
||||
];
|
||||
{lib, ...}: {
|
||||
imports = with lib; youthlic.loadImports' ./. (filter (name: name != "top-level"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue