From 8017d9e2da429f5fa326ecdc4599c28a17e8b00f Mon Sep 17 00:00:00 2001 From: Sandro Date: Fri, 4 Nov 2022 19:41:36 +0100 Subject: [PATCH] nixos/nix-daemon: don't give daemon by default high io priority According to https://www.freedesktop.org/software/systemd/man/systemd.exec.html#IOSchedulingClass= the default is 4 --- nixos/modules/services/misc/nix-daemon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index e8a21c352bd..26e7cbfca73 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -206,7 +206,7 @@ in daemonIOSchedPriority = mkOption { type = types.int; - default = 0; + default = 4; example = 1; description = lib.mdDoc '' Nix daemon process I/O scheduling priority. This priority propagates