forked from dan/liminix
1
0
Fork 0

Add modulesPath argument

This commit is contained in:
sinavir 2024-02-20 23:29:08 +01:00
parent 8f30db58ae
commit 6765aa1722
1 changed files with 9 additions and 1 deletions

View File

@ -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;