1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-04 17:09:47 +01:00

refactor launchd.agents.syncthing

Make launchd.agents an explicit attribute set, since we're going to add another agent.
This commit is contained in:
Peter Kling 2024-08-29 21:07:07 +02:00
parent 141a58f9cf
commit a2289723f9

View file

@ -686,7 +686,8 @@ in {
}; };
}; };
launchd.agents.syncthing = { launchd.agents = {
syncthing = {
enable = true; enable = true;
config = { config = {
ProgramArguments = syncthingArgs; ProgramArguments = syncthingArgs;
@ -697,6 +698,7 @@ in {
ProcessType = "Background"; ProcessType = "Background";
}; };
}; };
};
}) })
(mkIf (isAttrs cfg.tray && cfg.tray.enable) { (mkIf (isAttrs cfg.tray && cfg.tray.enable) {