From 8683f1838bb6133cbe354d4641b8206d01740f3a Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 7 Jan 2026 16:43:26 +1100 Subject: [PATCH 1/2] feat(nzbget): install --- modules/nixos/bundles/server.nix | 1 + modules/nixos/features/homepage-dashboard.nix | 16 +++++++++++++- modules/nixos/features/nzbget.nix | 21 +++++++++++++++++++ secrets/nzbget.age | 9 ++++++++ secrets/secrets.nix | 1 + 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 modules/nixos/features/nzbget.nix create mode 100644 secrets/nzbget.age diff --git a/modules/nixos/bundles/server.nix b/modules/nixos/bundles/server.nix index 36b7329..315cffb 100644 --- a/modules/nixos/bundles/server.nix +++ b/modules/nixos/bundles/server.nix @@ -17,6 +17,7 @@ "miniflux" "nginx" "ntfy-sh" + "nzbget" "paperless" "prowlarr" "qbittorrent" diff --git a/modules/nixos/features/homepage-dashboard.nix b/modules/nixos/features/homepage-dashboard.nix index bd2a28b..bd94636 100644 --- a/modules/nixos/features/homepage-dashboard.nix +++ b/modules/nixos/features/homepage-dashboard.nix @@ -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; }; } diff --git a/modules/nixos/features/nzbget.nix b/modules/nixos/features/nzbget.nix new file mode 100644 index 0000000..6d2199f --- /dev/null +++ b/modules/nixos/features/nzbget.nix @@ -0,0 +1,21 @@ +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}"; + }; + }; +} diff --git a/secrets/nzbget.age b/secrets/nzbget.age new file mode 100644 index 0000000..d1b0116 --- /dev/null +++ b/secrets/nzbget.age @@ -0,0 +1,9 @@ +age-encryption.org/v1 +-> ssh-ed25519 qLT+DQ dVoQlNoygZ2PJphsgjcNHARKCqqY8Qw7Rj3KFG4xOBc +/iQwxHFppTms9eA65uUbueylExReDhltYO2gxRGhoYk +-> ssh-ed25519 7+xRyQ 2ffDFWxx+fzdEr0c1U9stintGCQOIddSQR3F3N5/Kn0 +RkK+M3d3O9Kw2XI0mAEGfelu/wMmqI7FoaatMy2scdc +-> ssh-ed25519 LtK9yQ 4KeORDGwLz3xUCwevFWjBr7F9Jl0J4hUHG32YyloqBk +kYUveBVUZLEdU1hO+Z8S7NOtNwnPYFE4VMu4NmdPPqs +--- ldpx8r1tWc4sCfV3oWtYMa6L6MWkRUDjtrzZ7GVC0cw +§>!›©¨sX‰³òêß=Sì²—`•þÄ­7Á™«6* \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index d13f6ed..70d624e 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -26,6 +26,7 @@ in "kavita.age".publicKeys = users; "lidarr.age".publicKeys = users; "miniflux-creds.age".publicKeys = users; + "nzbget.age".publicKeys = users; "paperless.age".publicKeys = users; "porkbun-api.age".publicKeys = users; "protonmail-cert.age".publicKeys = users; From b3eaee27c91bdb1daf71a0599f969f1cc2e79a81 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Mon, 12 Jan 2026 17:17:41 +1100 Subject: [PATCH 2/2] feat(nzbget): install unrar to enable nzbget to extract rar arhcives --- modules/nixos/features/nzbget.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/nixos/features/nzbget.nix b/modules/nixos/features/nzbget.nix index 6d2199f..ff6f7d5 100644 --- a/modules/nixos/features/nzbget.nix +++ b/modules/nixos/features/nzbget.nix @@ -1,3 +1,7 @@ +{ + pkgs, + ... +}: let port = 5018; in @@ -18,4 +22,6 @@ in locations."/".proxyPass = "http://localhost:${toString port}"; }; }; + + environment.systemPackages = with pkgs; [ unrar ]; }