expose modulesPath to ease out-of-tree configuration.nix

This commit is contained in:
Daniel Barlow
2024-03-17 19:03:44 +00:00
parent 98318b450d
commit 4ea518e296
2 changed files with 6 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ let
});
eval = pkgs.lib.evalModules {
specialArgs = {
modulesPath = builtins.toString ./modules;
};
modules = [
{ _module.args = { inherit pkgs; inherit (pkgs) lim; }; }
./modules/hardware.nix