summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Richter <enno@nerdworks.de>2024-06-05 06:40:05 +0200
committerEnno Richter <enno@nerdworks.de>2024-06-05 06:40:05 +0200
commit9ed6009b2152128bbcd4e40841160b0bdc0274ba (patch)
tree5a763c441518b130b11ec374d544214173df8385
parentc0d5b8c54d6828516c97f6be9f2d00c63a363df4 (diff)
launchd: add LowPriorityBackgroundIO config
-rw-r--r--modules/launchd/launchd.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix
index 9fecde6..9e13a3b 100644
--- a/modules/launchd/launchd.nix
+++ b/modules/launchd/launchd.nix
@@ -675,6 +675,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;