modules: register the base modules path
This is needed, for example, to support relative paths when disabling modules.
This commit is contained in:
parent
2c07829be2
commit
f8b03f5750
|
@ -23,6 +23,9 @@ let
|
||||||
modules =
|
modules =
|
||||||
[ configuration ]
|
[ configuration ]
|
||||||
++ (import ./modules.nix { inherit check lib pkgs; });
|
++ (import ./modules.nix { inherit check lib pkgs; });
|
||||||
|
specialArgs = {
|
||||||
|
modulesPath = builtins.toString ./.;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
module = showWarnings (
|
module = showWarnings (
|
||||||
|
|
Loading…
Reference in a new issue