1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

switch from agent to daemon to run as root

This commit is contained in:
Raphael Megzari 2020-11-07 20:40:45 +09:00 committed by GitHub
parent aa739bc24d
commit ee55d78034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ in {
environment.systemPackages = [ nextdns ];
launchd.user.agents.nextdns = {
launchd.daemons.nextdns = {
path = [ nextdns ];
script = ''
"${pkgs.nextdns}/bin/nextdns run ${escapeShellArgs cfg.arguments}";