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 = {
script = "nextcloud-occ preview:pre-generate -vvv";
script = "${config.services.nextcloud.occ} preview:pre-generate -vvv";
startAt = "*-*-* 01:00:00 UTC";
};
services.nginx.virtualHosts.${host} = {
enableACME = true;
forceSSL = true;
extraConfig = ''
proxy_max_temp_file_size 4096m;
'';
};
environment.systemPackages = with pkgs; [
ffmpeg_6-headless
jpegoptim
exif
perl
perlPackages.ImageExifTool
exiftool
];
dgn-secrets.matches."^nextcloud-.*$" = { owner = "nextcloud"; };