Merge branch 'stirling-autorestart' into 'main'

Stirling autorestart

See merge request nounous/nixos!78
merge-requests/81/merge
Pyjacpp 2026-08-03 10:10:30 +02:00
commit 0427d7c284
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@
environment.systemPackages = with pkgs; [
imagemagick # Pour la compression des PDFs
];
services.stirling-pdf = {
enable = true;
environment = {
@ -17,6 +18,11 @@
};
};
systemd.services.stirling-pdf.serviceConfig = {
Restart = "always";
RestartSec = "5s";
};
services.nginx = {
enable = true;