mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +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 =
|
||||
[ configuration ]
|
||||
++ (import ./modules.nix { inherit check lib pkgs; });
|
||||
specialArgs = {
|
||||
modulesPath = builtins.toString ./.;
|
||||
};
|
||||
};
|
||||
|
||||
module = showWarnings (
|
||||
|
|
Loading…
Reference in a new issue