nzbget: allow tailscale

This commit is contained in:
Giulio De Pasquale 2023-12-19 00:36:26 +01:00
parent c729cde5db
commit d40e192dd1

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, ... }:
let
domain = "htnzb.giugl.io";
@ -9,12 +9,14 @@ in
group = "media";
};
architect.vhost.${domain} = {
architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "tailscale" "lan" ];
locations."/" = {
port = 6789;
allowLan = true;
allow = [ tailscale.net ];
};
};