|
|
@ -55,8 +55,13 @@ in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
nix = {
|
|
|
|
|
|
|
|
|
|
|
|
channel.enable = false;
|
|
|
|
channel.enable = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
daemonCPUSchedPolicy = "batch";
|
|
|
|
|
|
|
|
daemonIOSchedClass = "best-effort";
|
|
|
|
|
|
|
|
daemonIOSchedPriority = 7;
|
|
|
|
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
settings = {
|
|
|
|
allowed-users = [
|
|
|
|
allowed-users = [
|
|
|
|
"root"
|
|
|
|
"root"
|
|
|
@ -74,11 +79,9 @@ in
|
|
|
|
"root"
|
|
|
|
"root"
|
|
|
|
];
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
systemd.services.nix-daemon.serviceConfig = {
|
|
|
|
systemd.services.nix-daemon.serviceConfig = {
|
|
|
|
CPUSchedulingPolicy = "batch";
|
|
|
|
|
|
|
|
IOSchedulingClass = "best-effort";
|
|
|
|
|
|
|
|
IOSchedulingPriority = 7;
|
|
|
|
|
|
|
|
OOMScoreAdjust = lib.mkDefault 250;
|
|
|
|
OOMScoreAdjust = lib.mkDefault 250;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|