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:
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
Reference in a new issue