nixos/hosts/architect/bazarr.nix
Giulio De Pasquale 2f43745162 Move to vhost
2023-06-05 03:10:13 +02:00

27 lines
448 B
Nix

{ config, lib, ... }:
let
domain = "htbaz.giugl.io";
in
{
services.bazarr = {
enable = true;
group = "media";
};
architect.vhost.${domain} = with config.architect.networks; {
dnsInterfaces = [ "lan" "wireguard" "tailscale" ];
locations."/" = {
allowLan = true;
port = 6767;
allow = [
wireguard.net
tailscale.net
];
};
};
users.groups.media.members = [ "bazarr" ];
}