diff options
| author | Raphael Megzari <raphael@megzari.com> | 2020-11-07 20:40:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-07 20:40:45 +0900 |
| commit | ee55d78034d9a49c2b7f643d66a8f6d8ee2b32d3 (patch) | |
| tree | cdc2756b404c053342d58a85179957794388665f /modules | |
| parent | aa739bc24d397cd97cc8dfe4062c252be3f0e65c (diff) | |
switch from agent to daemon to run as root
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/services/nextdns/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/nextdns/default.nix b/modules/services/nextdns/default.nix index b4a87c3..3cec427 100644 --- a/modules/services/nextdns/default.nix +++ b/modules/services/nextdns/default.nix @@ -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}"; |
