From 071aebf7d5ffddb0002bf4a2e80486481217efd6 Mon Sep 17 00:00:00 2001 From: Pyjacpp Date: Wed, 15 Jul 2026 19:32:57 +0200 Subject: [PATCH] Stirling v2 --- hosts/vm/livre/stirling.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/vm/livre/stirling.nix b/hosts/vm/livre/stirling.nix index a18fe97..f5fadfc 100644 --- a/hosts/vm/livre/stirling.nix +++ b/hosts/vm/livre/stirling.nix @@ -1,13 +1,19 @@ -{ config, ... }: +{ config, pkgs, ... }: { + environment.systemPackages = with pkgs; [ + imagemagick # Pour la compression des PDFs + ]; services.stirling-pdf = { enable = true; environment = { 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; SYSTEM_DEFAULTLOCALE = "fr-FR"; + SYSTEM_ENABLEDESKTOPINSTALLSLIDE = false; + SYSTEM_SHOWUPDATE = false; }; };