nextdns: fix argument handling

This commit is contained in:
Henrique Goncalves 2024-07-08 16:36:31 -03:00
parent 0f89b73f41
commit e2a85731a0
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

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