1
0
Fork 0
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:
Niklas Ravnsborg 2024-09-08 02:11:29 +02:00
parent bd7d1e3912
commit 8f596aa633
No known key found for this signature in database
GPG key ID: 8360E6C58AE8F3ED

View file

@ -30,8 +30,7 @@ in {
launchd.daemons.nextdns = {
path = [ nextdns ];
serviceConfig.ProgramArguments =
[ "${pkgs.nextdns}/bin/nextdns" "run" ] ++ cfg.arguments;
command = concatStringsSep " " (["${pkgs.nextdns}/bin/nextdns run"] ++ cfg.arguments);
serviceConfig.KeepAlive = true;
serviceConfig.RunAtLoad = true;
};