services.beesd: lower io priority

This commit is contained in:
2023-09-29 01:02:39 +08:00
parent dcf7f8ace0
commit 91d7ab5b8f

View File

@@ -16,5 +16,14 @@ inputs:
services.beesd.filesystems = listToAttrs (map
(instance: { inherit (instance) name; value.spec = instance.value; })
(attrsToList beesd.instances));
systemd.slices.system-beesd.sliceConfig =
{
CPUSchedulingPolicy = "idle";
IOSchedulingClass = "idle";
IOSchedulingPriority = 4;
IOAccounting = true;
IOWeight = 1;
Nice = 19;
};
};
}