prowlarr: allow tailscale

This commit is contained in:
Giulio De Pasquale 2023-12-19 00:36:58 +01:00
parent b0ff55ef36
commit 685cf7cde9

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, ... }:
let let
domain = "htpro.giugl.io"; domain = "htpro.giugl.io";
@ -6,13 +6,18 @@ in
{ {
services.prowlarr.enable = true; services.prowlarr.enable = true;
architect.vhost.${domain} = { architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "tailscale" ]; dnsInterfaces = [ "tailscale" ];
locations."/" = { locations."/" = {
port = 9696; port = 9696;
allowLan = true; allowLan = true;
allow = [
tailscale.net
];
}; };
}; };
users.groups.media.members = [ "prowlarr" ]; users.groups.media.members = [ "prowlarr" ];