3 systemd.services.nix-daemon.serviceConfig = {
4 CPUSchedulingPolicy = lib.mkForce "batch";
5 IOSchedulingClass = lib.mkForce "best-effort";
6 # 0: high priority, 7: low priority
7 IOSchedulingPriority = lib.mkForce 4;
11 systemd.services.nix-gc.serviceConfig = {
12 CPUSchedulingPolicy = "idle";
13 IOSchedulingClass = "idle";
14 IOSchedulingPriority = 7;
18 systemd.sleep.extraConfig = ''