1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

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; with lib;
{ {
freeformType = with types; attrsOf anything; # added by Home Manager
options = { options = {
Label = mkOption { Label = mkOption {
type = types.str; type = types.str;

View file

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

View file

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