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
domain = "htpro.giugl.io";
@ -6,13 +6,18 @@ in
{
services.prowlarr.enable = true;
architect.vhost.${domain} = {
architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "tailscale" ];
locations."/" = {
port = 9696;
allowLan = true;
allow = [
tailscale.net
];
};
};
users.groups.media.members = [ "prowlarr" ];