Update Nix config options to match upstream
1. nix.binaryCaches -> nix.settings.substituters 2. nix.maxJobs -> nix.settings.max-jobs
This commit is contained in:
parent
b7130e72e1
commit
ddf6fe498c
2 changed files with 2 additions and 2 deletions
|
@ -9,5 +9,5 @@ let
|
|||
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
|
||||
in {
|
||||
inherit imports;
|
||||
nix.binaryCaches = ["https://cache.nixos.org/"];
|
||||
nix.settings.substituters = ["https://cache.nixos.org/"];
|
||||
}
|
||||
|
|
|
@ -28,6 +28,6 @@
|
|||
[ { device = "/dev/disk/by-uuid/fc70026b-8b25-47b1-8190-d6c3d0f12975"; }
|
||||
];
|
||||
|
||||
nix.maxJobs = lib.mkDefault 8;
|
||||
nix.settings.max-jobs = lib.mkDefault 8;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
}
|
||||
|
|
Reference in a new issue