diff --git a/modules/baseline.nix b/modules/baseline.nix index 38fba78..2afa7df 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -1,6 +1,5 @@ { pkgs, - config, lib, self, ... @@ -15,6 +14,9 @@ let [ ]; in { + # This is a dumb hack to pass the value into the import below, but it's how we have to do it, + # since that's how the module system works + _module.args.cache = true; imports = [ ./nix-conf.nix ]; diff --git a/modules/nix-conf.nix b/modules/nix-conf.nix index c62dd61..eba98e8 100644 --- a/modules/nix-conf.nix +++ b/modules/nix-conf.nix @@ -1,7 +1,7 @@ { pkgs, - cache ? true, lib, + cache, ... }: