From ec2e0a7a002d6b24553bd5dd9654c657e397fdbf Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 15 Apr 2023 00:58:30 +0200 Subject: [PATCH] fixup --- system/nixos/nginx.nix | 2 +- system/nixos/prowlarr.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/nixos/nginx.nix b/system/nixos/nginx.nix index 2f6d79d..aa41eef 100644 --- a/system/nixos/nginx.nix +++ b/system/nixos/nginx.nix @@ -27,7 +27,7 @@ }; systemd.tmpfiles.rules = [ - "d /run/nginx-sockets 0777 root root" + "d /var/lib/nginx-sockets 0777 root root" ]; networking.firewall.interfaces = diff --git a/system/nixos/prowlarr.nix b/system/nixos/prowlarr.nix index ae47a7e..14dd9a2 100644 --- a/system/nixos/prowlarr.nix +++ b/system/nixos/prowlarr.nix @@ -25,7 +25,7 @@ DynamicUser = true; NetworkNamespacePath = "/var/run/netns/wg"; UMask = "000"; - ExecStart = "${pkgs.socat}/bin/socat -d -d UNIX-LISTEN:/run/nginx-sockets/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696"; + ExecStart = "${pkgs.socat}/bin/socat -d -d UNIX-LISTEN:/var/lib/nginx-sockets/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696"; Restart = "on-failure"; }; }; @@ -39,7 +39,7 @@ locations."/" = { recommendedProxySettings = true; - proxyPass = "http://unix:/run/nginx-sockets/prowlarr.sock:/"; + proxyPass = "http://unix:/var/lib/nginx-sockets/prowlarr.sock:/"; }; }; }