Merge pull request #74 from wi11-holdsworth/56

Install NZBget
This commit is contained in:
Will 2026-01-12 17:18:52 +11:00 committed by GitHub
commit 64761c9e89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 53 additions and 1 deletions

View file

@ -17,6 +17,7 @@
"miniflux"
"nginx"
"ntfy-sh"
"nzbget"
"paperless"
"prowlarr"
"qbittorrent"

View file

@ -30,6 +30,7 @@ let
"kavita-api"
"lidarr"
"miniflux"
"nzbget"
"paperless"
"prowlarr"
"radarr"
@ -123,6 +124,19 @@ in
};
};
}
{
"NZBget" = {
"description" = "Usenet client";
"icon" = "nzbget.svg";
"href" = "https://nzbget.fi33.buzz/";
"widget" = {
"type" = "nzbget";
"url" = "https://nzbget.fi33.buzz/";
"username" = "will";
"password" = "@nzbget@";
};
};
}
{
"qBittorrent" = {
"description" = "BitTorrent client";
@ -301,7 +315,7 @@ in
{
"Media Management" = {
style = "row";
columns = 3;
columns = 4;
useEqualHeights = true;
};
}

View file

@ -0,0 +1,27 @@
{
pkgs,
...
}:
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}";
};
};
environment.systemPackages = with pkgs; [ unrar ];
}