From 685cf7cde91cafd01cd91b840bd3b75efa7e4180 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 19 Dec 2023 00:36:58 +0100 Subject: [PATCH] prowlarr: allow tailscale --- hosts/architect/prowlarr.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/architect/prowlarr.nix b/hosts/architect/prowlarr.nix index 16c040a..64d2478 100644 --- a/hosts/architect/prowlarr.nix +++ b/hosts/architect/prowlarr.nix @@ -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" ];