diff options
author | tv <tv@krebsco.de> | 2022-12-05 16:54:54 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-05 17:43:11 +0100 |
commit | 6a82f294335cbc0991f7a95355adfb9f7b7e6f43 (patch) | |
tree | 77226adf7a5eb7f953254fcff146fb1bcb75d24e /tv/2configs/hw | |
parent | dfd8f1f93c492eb33de6d3642248b3f504ac4742 (diff) |
tv: use nix.settings
Diffstat (limited to 'tv/2configs/hw')
-rw-r--r-- | tv/2configs/hw/x220.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index 8c68cdef0..25e2effbd 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -28,8 +28,8 @@ in } { - nix.buildCores = 2; - nix.maxJobs = 2; + nix.settings.cores = 2; + nix.settings.max-jobs = 2; } (if lib.versionAtLeast (lib.versions.majorMinor lib.version) "21.11" then { nix.daemonCPUSchedPolicy = "batch"; |