nixos/hosts/architect/nzbget.nix

23 lines
329 B
Nix
Raw Normal View History

{ config, lib, ... }:
let
domain = "htnzb.giugl.io";
2023-02-11 02:29:48 +00:00
in
{
2023-06-05 02:12:34 +01:00
services.nzbget = {
enable = true;
group = "media";
};
2021-07-07 13:13:19 +01:00
2023-06-05 02:12:34 +01:00
architect.vhost.${domain} = {
2023-10-21 14:00:58 +01:00
dnsInterfaces = [ "tailscale" "lan" ];
2023-06-05 02:12:34 +01:00
locations."/" = {
port = 6789;
allowLan = true;
2021-07-07 13:13:19 +01:00
};
};
2021-11-25 11:42:32 +00:00
users.groups.media.members = [ "nzbget" ];
2021-07-07 13:13:19 +01:00
}