nixos/nix-daemon: Clarify daemonNiceLevel

The option doesn not currently do what some people expect,
clarify the limitations in documentation.
This commit is contained in:
Emil Karlson
2021-10-08 10:28:54 +03:00
parent f5c5f13268
commit d77c75a98e

View File

@@ -189,7 +189,9 @@ in
default = 0; default = 0;
description = '' description = ''
Nix daemon process priority. This priority propagates to build processes. Nix daemon process priority. This priority propagates to build processes.
0 is the default Unix process priority, 19 is the lowest. 0 is the default Unix process priority, 19 is the lowest. Note that nix
bypasses nix-daemon when running as root and this option does not have
any effect in such a case.
Please note that if used on a recent Linux kernel with group scheduling, Please note that if used on a recent Linux kernel with group scheduling,
setting the nice level will only have an effect relative to other threads setting the nice level will only have an effect relative to other threads