remove stirling-pdf in favour of local-first solutions

This commit is contained in:
wi11-holdsworth 2025-07-29 11:25:48 +10:00
parent 7d4d03acfb
commit f7464a6dff
3 changed files with 0 additions and 44 deletions

View file

@ -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;

View file

@ -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";

View file

@ -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}";
}