forked from DGNum/infrastructure
fix(nix-lib): Allow defining top-level imports
This commit is contained in:
parent
420fe99984
commit
21b422b1ad
1 changed files with 5 additions and 2 deletions
|
@ -190,8 +190,11 @@ rec {
|
||||||
recursiveFuse [
|
recursiveFuse [
|
||||||
(enableModules enabledModules)
|
(enableModules enabledModules)
|
||||||
|
|
||||||
{ imports = mkImports root ([ "_hardware-configuration" ] ++ enabledServices); }
|
{
|
||||||
|
imports =
|
||||||
|
(extraConfig.imports or [ ]) ++ (mkImports root ([ "_hardware-configuration" ] ++ enabledServices));
|
||||||
|
}
|
||||||
|
|
||||||
extraConfig
|
(removeAttrs extraConfig [ "imports" ])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue