fix(nextcloud): Fix preview generator and update settings

This commit is contained in:
Tom Hubrecht 2023-12-08 17:54:16 +01:00
parent 4f5086a69e
commit 1e77824251

View file

@ -78,21 +78,22 @@ in {
}; };
systemd.services.nextcloud-preview = { systemd.services.nextcloud-preview = {
script = "nextcloud-occ preview:pre-generate -vvv"; script = "${config.services.nextcloud.occ} preview:pre-generate -vvv";
startAt = "*-*-* 01:00:00 UTC"; startAt = "*-*-* 01:00:00 UTC";
}; };
services.nginx.virtualHosts.${host} = { services.nginx.virtualHosts.${host} = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
extraConfig = ''
proxy_max_temp_file_size 4096m;
'';
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
ffmpeg_6-headless ffmpeg_6-headless
jpegoptim exiftool
exif
perl
perlPackages.ImageExifTool
]; ];
dgn-secrets.matches."^nextcloud-.*$" = { owner = "nextcloud"; }; dgn-secrets.matches."^nextcloud-.*$" = { owner = "nextcloud"; };