mirror of
https://github.com/nix-community/home-manager
synced 2024-12-04 00:49:46 +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:
parent
141a58f9cf
commit
a2289723f9
1 changed files with 10 additions and 8 deletions
|
@ -686,15 +686,17 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
launchd.agents.syncthing = {
|
launchd.agents = {
|
||||||
enable = true;
|
syncthing = {
|
||||||
config = {
|
enable = true;
|
||||||
ProgramArguments = syncthingArgs;
|
config = {
|
||||||
KeepAlive = {
|
ProgramArguments = syncthingArgs;
|
||||||
Crashed = true;
|
KeepAlive = {
|
||||||
SuccessfulExit = false;
|
Crashed = true;
|
||||||
|
SuccessfulExit = false;
|
||||||
|
};
|
||||||
|
ProcessType = "Background";
|
||||||
};
|
};
|
||||||
ProcessType = "Background";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue