1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-20 15:22:51 +00:00

Merge pull request #1089 from niklasravnsborg/fix-modules-commands

Update nextdns to use `command`
This commit is contained in:
Michael Hoang 2025-03-13 00:47:09 +09:00 committed by GitHub
commit 2fb6b09b67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
};