remove stirling-pdf in favour of local-first solutions
This commit is contained in:
parent
7d4d03acfb
commit
f7464a6dff
3 changed files with 0 additions and 44 deletions
|
|
@ -17,7 +17,6 @@ in
|
||||||
prowlarr.enable = true;
|
prowlarr.enable = true;
|
||||||
radarr.enable = true;
|
radarr.enable = true;
|
||||||
sonarr.enable = true;
|
sonarr.enable = true;
|
||||||
stirling-pdf.enable = true;
|
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
vaultwarden.enable = true;
|
vaultwarden.enable = true;
|
||||||
vscode-server.enable = true;
|
vscode-server.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -186,13 +186,6 @@ in
|
||||||
"href" = "https://qbittorrent.fi33.buzz/";
|
"href" = "https://qbittorrent.fi33.buzz/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
"Stirling PDF" = {
|
|
||||||
"description" = "PDF toolbox";
|
|
||||||
"icon" = "stirling-pdf.png";
|
|
||||||
"href" = "https://stirling-pdf.fi33.buzz/";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
"Vaultwarden" = {
|
"Vaultwarden" = {
|
||||||
"description" = "Password manager";
|
"description" = "Password manager";
|
||||||
|
|
|
||||||
|
|
@ -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}";
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue