nextcloud adjusted to generate lightest previews
This commit is contained in:
parent
ccca353e19
commit
a64a6e5b38
@ -33,11 +33,14 @@ in {
|
|||||||
};
|
};
|
||||||
nixpkgs.config.permittedInsecurePackages =
|
nixpkgs.config.permittedInsecurePackages =
|
||||||
[ "nodejs-14.21.3" "openssl-1.1.1v" ];
|
[ "nodejs-14.21.3" "openssl-1.1.1v" ];
|
||||||
environment.systemPackages = with pkgs; [ mediainfo dlib ];
|
|
||||||
users.users.nextcloud = {
|
users.users.nextcloud = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
extraGroups = [ "render" ];
|
extraGroups = [ "render" ];
|
||||||
packages = (with pkgs; [
|
packages = (with pkgs; [
|
||||||
|
mediainfo
|
||||||
|
dlib
|
||||||
|
bzip2
|
||||||
|
openblas
|
||||||
nodejs
|
nodejs
|
||||||
(python3.withPackages (ps: with ps; [ tensorflow ]))
|
(python3.withPackages (ps: with ps; [ tensorflow ]))
|
||||||
perl
|
perl
|
||||||
@ -126,8 +129,11 @@ 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 all.ldap ];
|
# phpExtraExtensions = all: [ all.pdlib all.bz2 ];
|
||||||
|
phpExtraExtensions = all: [ ];
|
||||||
};
|
};
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user