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/4] 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`76* \ 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; -- 2.53.0 From 2517ff6067b61a25bad88e62ebc4f70175db1a35 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 7 Jan 2026 18:53:38 +1100 Subject: [PATCH 2/4] fix(homepage-dashboard): prowlarr api key changed --- secrets/prowlarr.age | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/secrets/prowlarr.age b/secrets/prowlarr.age index bb7d73c..8883300 100644 --- a/secrets/prowlarr.age +++ b/secrets/prowlarr.age @@ -1,9 +1,9 @@ age-encryption.org/v1 --> ssh-ed25519 LtK9yQ YVgPDwV8XS85LpMBbpgsXmoc2E0w2qopErn//kDHJzo -ZX3RIdYPxwOzpLddoGhi0aJ4H89hcpmlPgJuyTiYzlE --> ssh-ed25519 qLT+DQ KQMInU5B/vVG4dr0DGAFk1Yf+LbnPkV7OqfiqRaNgzo -BeMLVvtSKSKIPplIorIJSBMciQj5GYF1ltGbUn8SsJA --> ssh-ed25519 7+xRyQ Cr+rUSSDpC5WLh/bvWKJkf2SWIcljLofx3ybcVcK0z4 -kqabKTHxNxH9xfgShKTcleNXjBf/huoU+hH9tnOx5hg ---- J6RjAbLUNOKkb2UQyVjgTyrfyrIkDFMkQtXZypBDfWw -14%6p< ($$toI8;pZb83hf!mNסc8U \ No newline at end of file +-> ssh-ed25519 qLT+DQ EgHCxhqEyRGiBNRBw8Cs2NmM4nihbZSEw4C3JJ2muRE +Pqnh8JpDHEvsgkJTwJzrkx/A0oBg2n7TumVCgHOceD8 +-> ssh-ed25519 7+xRyQ WLCkfRiBsqZohjc+z4rs4sHFMAtsRvqiocsnUlZkAVg +ebJft8vHhi4rd9T0BOl388SKun+3vF3P6/u7U4vdy5c +-> ssh-ed25519 LtK9yQ 8suX3vEyfqVcbNy4ZQxPRvaJg+4TJTR0cSlAgV04rzc +i8cmfhsETd4Y7epbyan5ION7W2g5QazyJA3AcGlXKKI +--- 7jsZ4aF4WyshNUtjP83yf2yHaR1UXfWEdbHhwmfyGhM +&zP 'س],qTx@l}Io.qGT|!= \ No newline at end of file -- 2.53.0 From 655226908175de74cb82c5c65f363579e0b3a4ed Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 7 Jan 2026 18:54:44 +1100 Subject: [PATCH 3/4] fix(borgmatic): moving backup repo to another drive disabled backup momentarily --- modules/nixos/features/borgmatic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nixos/features/borgmatic.nix b/modules/nixos/features/borgmatic.nix index 5652eb7..bd45777 100644 --- a/modules/nixos/features/borgmatic.nix +++ b/modules/nixos/features/borgmatic.nix @@ -35,6 +35,7 @@ "fail" ]; }; + relocated_repo_access_is_ok = true; repositories = [ { path = "/mnt/external/backup/repo"; -- 2.53.0 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 4/4] 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 ]; } -- 2.53.0