mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
update nextdns to use command
instead of serviceConfig.ProgramArguments
This commit is contained in:
parent
bd7d1e3912
commit
8f596aa633
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@ in {
|
||||||
|
|
||||||
launchd.daemons.nextdns = {
|
launchd.daemons.nextdns = {
|
||||||
path = [ nextdns ];
|
path = [ nextdns ];
|
||||||
serviceConfig.ProgramArguments =
|
command = concatStringsSep " " (["${pkgs.nextdns}/bin/nextdns run"] ++ cfg.arguments);
|
||||||
[ "${pkgs.nextdns}/bin/nextdns" "run" ] ++ cfg.arguments;
|
|
||||||
serviceConfig.KeepAlive = true;
|
serviceConfig.KeepAlive = true;
|
||||||
serviceConfig.RunAtLoad = true;
|
serviceConfig.RunAtLoad = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue