mirror of https://gitlab.crans.org/nounous/nixos
commit
2518915939
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue