switch from agent to daemon to run as root
This commit is contained in:
parent
aa739bc24d
commit
ee55d78034
1 changed files with 1 additions and 1 deletions
|
|
@ -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}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue