From 4254c0964b00adf7e34285a017136acb5639bcb8 Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Mon, 3 Apr 2023 21:25:57 +0200 Subject: [PATCH] launchd: add LowPriorityBackgroundIO config --- modules/launchd/launchd.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix index 9c9b54452..ad9cc08a0 100644 --- a/modules/launchd/launchd.nix +++ b/modules/launchd/launchd.nix @@ -706,6 +706,15 @@ with lib; ''; }; + LowPriorityBackgroundIO = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + This optional key specifies whether the kernel should consider this daemon to be low priority when + doing file system I/O when the process is throttled with the Darwin-background classification. + ''; + }; + LaunchOnlyOnce = mkOption { type = types.nullOr types.bool; default = null;