summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-01-22 19:29:28 +1000
committerGitHub <noreply@github.com>2024-01-22 19:29:28 +1000
commit1e706ef323de76236eb183d7784f3bd57255ec0b (patch)
treee66f65de1d00114134bf437ed211b8a72a0a72af
parent91c19ab206b4b8af72f3f34a947969964ad45908 (diff)
parent6b27542e861291993ba16f353f9da76b5bc0aa78 (diff)
Merge pull request #857 from thanegill/patch-2
Allow launchd serivceConfig.LimitLoadToSessionType to be a list
-rw-r--r--modules/launchd/launchd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix
index 32fa781..119d4f0 100644
--- a/modules/launchd/launchd.nix
+++ b/modules/launchd/launchd.nix
@@ -91,7 +91,7 @@ with lib;
};
LimitLoadToSessionType = mkOption {
- type = types.nullOr types.str;
+ type = types.nullOr (types.oneOf [types.str (types.listOf types.str)]);
default = null;
description = lib.mdDoc ''
This configuration file only applies to sessions of the type specified. This key is used in concert