diff --git a/hosts/glotzbert/default.nix b/hosts/glotzbert/default.nix index 5847dc3a..b3474ad7 100644 --- a/hosts/glotzbert/default.nix +++ b/hosts/glotzbert/default.nix @@ -13,9 +13,9 @@ nixpkgs.config.allowUnfree = true; - nix = { - buildCores = 4; - maxJobs = 4; + nix.settings = { + cores = 4; + max-jobs = 4; }; sops = { diff --git a/hosts/glotzbert/hardware-configuration.nix b/hosts/glotzbert/hardware-configuration.nix index 4d5aa8da..d2478121 100644 --- a/hosts/glotzbert/hardware-configuration.nix +++ b/hosts/glotzbert/hardware-configuration.nix @@ -24,6 +24,5 @@ swapDevices = [ ]; - nix.maxJobs = lib.mkDefault 4; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; } diff --git a/hosts/radiobert/default.nix b/hosts/radiobert/default.nix index 69085379..f55406bb 100644 --- a/hosts/radiobert/default.nix +++ b/hosts/radiobert/default.nix @@ -85,9 +85,9 @@ pkgs.makeModulesClosure (x // { allowMissing = true; }); }; - nix = { - buildCores = 4; - maxJobs = 2; + nix.settings = { + cores = 4; + max-jobs = 2; }; sops = {