From f7464a6dff079ce82d99cce2e74802c79e816dc8 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Tue, 29 Jul 2025 11:25:48 +1000 Subject: [PATCH] remove stirling-pdf in favour of local-first solutions --- modules/nixos/bundles/server.nix | 1 - modules/nixos/features/homepage-dashboard.nix | 7 ---- modules/nixos/features/stirling-pdf.nix | 36 ------------------- 3 files changed, 44 deletions(-) delete mode 100644 modules/nixos/features/stirling-pdf.nix diff --git a/modules/nixos/bundles/server.nix b/modules/nixos/bundles/server.nix index 6eae80a..984920f 100644 --- a/modules/nixos/bundles/server.nix +++ b/modules/nixos/bundles/server.nix @@ -17,7 +17,6 @@ in prowlarr.enable = true; radarr.enable = true; sonarr.enable = true; - stirling-pdf.enable = true; qbittorrent.enable = true; vaultwarden.enable = true; vscode-server.enable = true; diff --git a/modules/nixos/features/homepage-dashboard.nix b/modules/nixos/features/homepage-dashboard.nix index ab251d1..d88510b 100644 --- a/modules/nixos/features/homepage-dashboard.nix +++ b/modules/nixos/features/homepage-dashboard.nix @@ -186,13 +186,6 @@ in "href" = "https://qbittorrent.fi33.buzz/"; }; } - { - "Stirling PDF" = { - "description" = "PDF toolbox"; - "icon" = "stirling-pdf.png"; - "href" = "https://stirling-pdf.fi33.buzz/"; - }; - } { "Vaultwarden" = { "description" = "Password manager"; diff --git a/modules/nixos/features/stirling-pdf.nix b/modules/nixos/features/stirling-pdf.nix deleted file mode 100644 index a2a1bca..0000000 --- a/modules/nixos/features/stirling-pdf.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - config, - lib, - ... -}: -let - feature = "stirling-pdf"; - port = "5003"; -in -{ - config = lib.mkIf config.${feature}.enable { - services = { - # service - ${feature} = { - enable = true; - environment = { - SERVER_PORT = lib.toInt port; - }; - }; - - # reverse proxy - nginx = { - virtualHosts."${feature}.fi33.buzz" = { - forceSSL = true; - useACMEHost = "fi33.buzz"; - locations."/" = { - proxyPass = "http://localhost:${port}"; - # proxyWebsockets = true; - }; - }; - }; - }; - }; - - options.${feature}.enable = lib.mkEnableOption "enables ${feature}"; -}