mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
launchd: make Launch Agents config a freeform setting
Because there probably are options we don't know about.
This commit is contained in:
parent
d80bf24dab
commit
2acea86583
3 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -13,6 +13,7 @@ with lib;
|
||||||
SuccessfulExit = false;
|
SuccessfulExit = false;
|
||||||
};
|
};
|
||||||
ProcessType = "Background";
|
ProcessType = "Background";
|
||||||
|
UnrecognizedByHomeManager = "should make it to the resulting plist";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue