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 =
|
||||
[ configuration ]
|
||||
++ (import ./modules.nix { inherit check lib pkgs; });
|
||||
specialArgs = {
|
||||
modulesPath = builtins.toString ./.;
|
||||
};
|
||||
};
|
||||
|
||||
module = showWarnings (
|
||||
|
|
Loading…
Reference in a new issue