diff options
-rw-r--r-- | machines/devhell/herja.nix | 4 | ||||
-rw-r--r-- | modules/core/common.nix | 4 | ||||
-rw-r--r-- | modules/user/devhell/profiles/base.nix | 6 |
3 files changed, 9 insertions, 5 deletions
diff --git a/machines/devhell/herja.nix b/machines/devhell/herja.nix index 866a46ad..c4f555ce 100644 --- a/machines/devhell/herja.nix +++ b/machines/devhell/herja.nix @@ -84,7 +84,9 @@ }; nix = { - maxJobs = lib.mkDefault 8; + settings = { + maxJobs = lib.mkDefault 8; + }; }; i18n = { diff --git a/modules/core/common.nix b/modules/core/common.nix index d05c54dd..c13a701c 100644 --- a/modules/core/common.nix +++ b/modules/core/common.nix @@ -44,8 +44,8 @@ in { vuizvui = import ../../pkgs { pkgs = super; }; }))); - nix.binaryCaches = [ "https://headcounter.org/hydra/" ]; - nix.binaryCachePublicKeys = [ + nix.settings.binaryCaches = [ "https://headcounter.org/hydra/" ]; + nix.settings.binaryCachePublicKeys = [ "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg=" ]; diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix index 659f2e7e..598dc056 100644 --- a/modules/user/devhell/profiles/base.nix +++ b/modules/user/devhell/profiles/base.nix @@ -15,8 +15,10 @@ in { }; nix = { - buildCores = 0; - useSandbox = true; + settings = { + buildCores = 0; + useSandbox = true; + }; extraOptions = '' auto-optimise-store = true experimental-features = nix-command flakes |