launchd: make Launch Agents config a freeform setting

Because there probably are options we don't know about.
This commit is contained in:
midchildan 2023-03-23 01:52:18 +09:00 committed by Robert Helgesson
parent d80bf24dab
commit 2acea86583
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
3 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,8 @@
with lib;
{
freeformType = with types; attrsOf anything; # added by Home Manager
options = {
Label = mkOption {
type = types.str;

View File

@ -13,6 +13,7 @@ with lib;
SuccessfulExit = false;
};
ProcessType = "Background";
UnrecognizedByHomeManager = "should make it to the resulting plist";
};
};

View File

@ -19,5 +19,7 @@
<string>--with-arguments</string>
<string>foo</string>
</array>
<key>UnrecognizedByHomeManager</key>
<string>should make it to the resulting plist</string>
</dict>
</plist>