dots/modules/nixos/features/nzbget.nix
2026-01-07 18:53:29 +11:00

21 lines
378 B
Nix

let
port = 5018;
in
{
services = {
nzbget = {
enable = true;
settings = {
MainDir = "/srv/nzbget";
ControlPort = port;
};
group = "srv";
};
nginx.virtualHosts."nzbget.fi33.buzz" = {
forceSSL = true;
useACMEHost = "fi33.buzz";
locations."/".proxyPass = "http://localhost:${toString port}";
};
};
}