mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:50:44 +08:00
modules: register the base modules path
This is needed, for example, to support relative paths when disabling modules.
This commit is contained in:
@@ -23,6 +23,9 @@ let
|
||||
modules =
|
||||
[ configuration ]
|
||||
++ (import ./modules.nix { inherit check lib pkgs; });
|
||||
specialArgs = {
|
||||
modulesPath = builtins.toString ./.;
|
||||
};
|
||||
};
|
||||
|
||||
module = showWarnings (
|
||||
|
||||
Reference in New Issue
Block a user