diff options
author | tv <tv@krebsco.de> | 2021-12-08 22:01:32 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-09 11:31:10 +0100 |
commit | 3e501e2acc4b8bbc036b86a195d090eacf413613 (patch) | |
tree | b5ec0b899764d959af3f6deb1becf105d687e6f0 /tv/2configs/hw | |
parent | e5fc654f50e2b99bcae186962b29c8754f382f3b (diff) |
tv x220 nix.daemon*: admit NixOS 21.11 harder
Only compare majorMinor nixpkgs version because
21.11pre-git < 21.11
Diffstat (limited to 'tv/2configs/hw')
-rw-r--r-- | tv/2configs/hw/x220.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index a4342fcce..8c68cdef0 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -31,7 +31,7 @@ in nix.buildCores = 2; nix.maxJobs = 2; } - (if lib.versionAtLeast lib.version "21.11" then { + (if lib.versionAtLeast (lib.versions.majorMinor lib.version) "21.11" then { nix.daemonCPUSchedPolicy = "batch"; nix.daemonIOSchedPriority = 1; } else { |