Stirling v2

hosts-v2
Pyjacpp 2026-07-15 19:32:57 +02:00
parent a6ad68350f
commit 071aebf7d5
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 8 additions and 2 deletions

View File

@ -1,13 +1,19 @@
{ config, ... }: { config, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [
imagemagick # Pour la compression des PDFs
];
services.stirling-pdf = { services.stirling-pdf = {
enable = true; enable = true;
environment = { environment = {
ENDPOINTS_TOREMOVE = "url-to-pdf"; ENDPOINTS_TOREMOVE = "url-to-pdf";
INSTALL_BOOK_AND_ADVANCED_HTML_OPS = "true"; UI_APPNAMENAVBAR = "Stirling PDF du Cr@ns";
SECURITY_ENABLELOGIN = false;
SERVER_PORT = 8000; SERVER_PORT = 8000;
SYSTEM_DEFAULTLOCALE = "fr-FR"; SYSTEM_DEFAULTLOCALE = "fr-FR";
SYSTEM_ENABLEDESKTOPINSTALLSLIDE = false;
SYSTEM_SHOWUPDATE = false;
}; };
}; };