3 systemd.sleep.extraConfig = ''
8 systemd.services.nix-daemon.serviceConfig = {
9 CPUSchedulingPolicy = lib.mkForce "batch";
10 IOSchedulingClass = lib.mkForce "best-effort";
11 # 0: high priority, 7: low priority
12 IOSchedulingPriority = lib.mkForce 4;
15 systemd.services.nix-gc.serviceConfig = {
16 CPUSchedulingPolicy = "batch";
17 IOSchedulingClass = "best-effort";
18 IOSchedulingPriority = 7;