add a modulesPath arg in modules evaluation
This commit is contained in:
parent
c9bacf6678
commit
5bb68f24b5
1 changed files with 9 additions and 1 deletions
10
default.nix
10
default.nix
|
@ -21,7 +21,12 @@ let
|
|||
|
||||
eval = pkgs.lib.evalModules {
|
||||
modules = [
|
||||
{ _module.args = { inherit pkgs; inherit (pkgs) lim; }; }
|
||||
{
|
||||
_module.args = {
|
||||
inherit pkgs;
|
||||
inherit (pkgs) lim;
|
||||
};
|
||||
}
|
||||
./modules/hardware.nix
|
||||
./modules/base.nix
|
||||
./modules/busybox.nix
|
||||
|
@ -35,6 +40,9 @@ let
|
|||
boot.imageType = imageType;
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
modulesPath = builtins.toString ./modules;
|
||||
};
|
||||
};
|
||||
config = eval.config;
|
||||
|
||||
|
|
Loading…
Reference in a new issue