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