summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2024-06-13 11:14:19 +0100
committerGitHub <noreply@github.com>2024-06-13 11:14:19 +0100
commit139ea5dd92c2065b4fa8c019d649fe04037b7c38 (patch)
treea0d4aa8aa1a1658aa7c4ecd1a12ef247930ca7da /modules
parent315aa649ba307704db0b16c92f097a08a65ec955 (diff)
parent9ed6009b2152128bbcd4e40841160b0bdc0274ba (diff)
Merge pull request #963 from elohmeier/launchd-lowpriobgio
launchd: add LowPriorityBackgroundIO config
Diffstat (limited to 'modules')
-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;