modules/nix-config: tune scheduling priorities, move to builder.slice
This commit is contained in:
parent
ff4e3af21e
commit
c9f37b962a
1 changed files with 5 additions and 0 deletions
|
@ -25,5 +25,10 @@
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
daemonCPUSchedPolicy = "batch";
|
||||||
|
daemonIOSchedPriority = 7;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.nix-daemon.serviceConfig.Slice = "builder.slice";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue