summaryrefslogtreecommitdiff
path: root/modules/launchd
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2022-09-19 13:32:50 +0100
committerGitHub <noreply@github.com>2022-09-19 13:32:50 +0100
commit14a12e9ee72215b5f1e7dcbbff52e21a2e1d688c (patch)
treeb384ca293aa00f62bf47994b6c8a7c864c9f4e33 /modules/launchd
parentde4d41ee9fd12a60236c1f35cead7c511dac08eb (diff)
parented4d2d69a03c982f71ffe65b589daf3e6b047e7d (diff)
Merge pull request #499 from Enzime/karabiner-elements
Karabiner-Elements
Diffstat (limited to 'modules/launchd')
-rw-r--r--modules/launchd/launchd.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix
index f857131..cceaaf0 100644
--- a/modules/launchd/launchd.nix
+++ b/modules/launchd/launchd.nix
@@ -193,6 +193,21 @@ with lib;
'';
};
+ Crashed = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ If true, the the job will be restarted as long as it exited due to a signal which is typically
+ associated with a crash (SIGILL, SIGSEGV, etc.). If false, the job will be restarted in the
+ inverse condition.
+ '';
+ };
+
+ AfterInitialDemand = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ };
+
};
}));
default = null;