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/borgmatic.nix b/modules/nixos/features/borgmatic.nix index bd45777..5652eb7 100644 --- a/modules/nixos/features/borgmatic.nix +++ b/modules/nixos/features/borgmatic.nix @@ -35,7 +35,6 @@ "fail" ]; }; - relocated_repo_access_is_ok = true; repositories = [ { path = "/mnt/external/backup/repo"; 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..ff6f7d5 --- /dev/null +++ b/modules/nixos/features/nzbget.nix @@ -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 ]; +} 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/prowlarr.age b/secrets/prowlarr.age index 8883300..bb7d73c 100644 --- a/secrets/prowlarr.age +++ b/secrets/prowlarr.age @@ -1,9 +1,9 @@ age-encryption.org/v1 --> 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 +-> 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 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;