mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 22:50:39 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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