tv AO753: use nix.settings

This commit is contained in:
tv 2023-01-06 21:27:58 +01:00
parent 7a45a35a58
commit fbd33d1989

View File

@ -4,8 +4,8 @@ with import ./lib;
../smartd.nix ../smartd.nix
{ {
nix.buildCores = 2; nix.settings.cores = 2;
nix.maxJobs = 2; nix.settings.max-jobs = 2;
} }
(if lib.versionAtLeast (lib.versions.majorMinor lib.version) "21.11" then { (if lib.versionAtLeast (lib.versions.majorMinor lib.version) "21.11" then {
nix.daemonCPUSchedPolicy = "batch"; nix.daemonCPUSchedPolicy = "batch";