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