nextcloud preview settings

This commit is contained in:
Danilo Reyes 2024-06-26 23:30:00 -06:00
parent b3b1ffbaa5
commit 520646bdd4

View File

@ -38,9 +38,6 @@ in {
extraGroups = [ "render" ];
packages = (with pkgs; [
mediainfo
dlib
bzip2
openblas
nodejs
(python3.withPackages (ps: with ps; [ tensorflow ]))
perl
@ -71,6 +68,7 @@ in {
enable = true;
https = true;
package = pkgs.nextcloud29;
phpPackage = lib.mkForce pkgs.php82;
appstoreEnable = true;
configureRedis = true;
extraAppsEnable = true;
@ -105,6 +103,8 @@ in {
"opcache.save_comments" = "1";
"opcache.validate_timestamps" = "0";
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
preview_max_x = 512;
preview_max_y = 512;
short_open_tag = "Off";
};
settings = {
@ -129,11 +129,9 @@ in {
"OC\\Preview\\AVI"
"OC\\Preview\\Movie"
];
preview_max_x = 512;
preview_max_y = 512;
};
# phpExtraExtensions = all: [ all.pdlib all.bz2 ];
phpExtraExtensions = all: [ ];
phpExtraExtensions = all: [ all.pdlib all.bz2 ];
# phpExtraExtensions = all: [ ];
};
nginx = {
enable = true;