magpie/nextcloud: tune php interpreter

This commit is contained in:
Asmir A 2023-11-06 19:25:49 +01:00
parent 4ef5ab21a8
commit eccdb771ce

View File

@ -93,7 +93,7 @@
virtualHost.listenPort = 4001;
};
services.nextcloud = rec {
services.nextcloud = {
enable = true;
package = pkgs.nextcloud27;
config.adminpassFile = config.sops.secrets."nextcloud_admin".path;
@ -117,12 +117,9 @@
"OC\\Preview\\XBitmap"
];
};
phpOptions =
phpOptions.default
// {
phpOptions = {
"opcache.jit" = "tracing";
"opcache.jit_buffer_size" = "100M";
# recommended by nextcloud admin overview
"opcache.interned_strings_buffer" = "16";
};
};