diff --git a/configuration.nix b/configuration.nix index 655744f..3382d43 100644 --- a/configuration.nix +++ b/configuration.nix @@ -112,6 +112,7 @@ services.radarr = { enable = true; group = "multimedia"; }; services.readarr = { enable = true; group = "multimedia"; }; services.sonarr = { enable = true; group = "multimedia"; }; + services.prowlarr = { enable = true; }; services.aria2.enable = true; @@ -517,6 +518,13 @@ } respond 403 ''; + virtualHosts."prowl.arr.samsehu.perli.casa".extraConfig = '' + @connected_via_tailscale remote_ip 100.64.0.0/10 fd7a:115c:a1e0::/48 + handle @connected_via_tailscale { + reverse_proxy localhost:9696 + } + respond 403 + ''; }; # Headscale for access to the network while away from home @@ -551,6 +559,7 @@ { name = "rad.arr.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "read.arr.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "son.arr.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } + { name = "prowl.arr.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } ]; };