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 = {
|
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"; };
|
||||||
|
|
Loading…
Reference in a new issue