From ee2e30128713a72b7d2c496e52f5b3f7ac0b3983 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 14 Apr 2023 00:27:54 +0200 Subject: [PATCH] mediaserver: wireguard+prowlarr --- system/nixos/prowlarr.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/nixos/prowlarr.nix b/system/nixos/prowlarr.nix index ab93fa5..12b7535 100644 --- a/system/nixos/prowlarr.nix +++ b/system/nixos/prowlarr.nix @@ -23,8 +23,7 @@ serviceConfig = { Type = "simple"; - DynamicUser = true; - PrivateTmp = false; + User = "nobody"; NetworkNamespacePath = "/var/run/netns/wg"; ExecStart = "${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696"; Restart = "on-failure";