Merge branch 'livre' into 'main'

Stirling v2

See merge request nounous/nixos!73
hosts-v2
Pyjacpp 2026-07-16 10:11:08 +02:00
commit 2518915939
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;
}; };
}; };