nixos/hosts/architect/nzbget.nix
Giulio De Pasquale 0698f9b8db nzbget: vhost
2023-06-05 03:12:34 +02:00

23 lines
341 B
Nix

{ config, lib, ... }:
let
domain = "htnzb.giugl.io";
in
{
services.nzbget = {
enable = true;
group = "media";
};
architect.vhost.${domain} = {
dnsInterfaces = [ "tailscale" "wireguard" "lan" ];
locations."/" = {
port = 6789;
allowLan = true;
};
};
users.groups.media.members = [ "nzbget" ];
}