forked from DGNum/liminix
expose modulesPath to ease out-of-tree configuration.nix
This commit is contained in:
parent
98318b450d
commit
4ea518e296
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: let
|
||||
secrets = import ./extneder-secrets.nix;
|
||||
|
@ -20,8 +21,8 @@ in rec {
|
|||
};
|
||||
|
||||
imports = [
|
||||
../modules/profiles/wap.nix
|
||||
../modules/vlan
|
||||
"${modulesPath}/profiles/wap.nix"
|
||||
"${modulesPath}/vlan"
|
||||
];
|
||||
|
||||
hostname = "extneder";
|
||||
|
|
Loading…
Reference in a new issue