mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
Allow launchd serivceConfig.LimitLoadToSessionType to be a list
Per: https://developer.apple.com/library/archive/technotes/tn2083/_index.html#:~:text=If%20you%20want%20to%20run%20in%20more%20than%20one%20session%20type%2C%20you%20can%20set%20LimitLoadToSessionType%20to%20an%20array%2C%20where%20each%20element%20is%20a%20session%20type%20string. LimitLoadToSessionType can also be an array if more than one session type is desired.
This commit is contained in:
parent
74ab0227ee
commit
6b27542e86
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue