forked from DGNum/infrastructure
fix(nextcloud): Fix preview generator and update settings
This commit is contained in:
parent
4f5086a69e
commit
1e77824251
1 changed files with 6 additions and 5 deletions
|
@ -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"; };
|
||||
|
|
Loading…
Reference in a new issue