Compare commits

..

2 Commits

Author SHA1 Message Date
bca4baf226 Merge remote-tracking branch 'origin/master' 2023-11-06 19:26:08 +01:00
eccdb771ce magpie/nextcloud: tune php interpreter 2023-11-06 19:25:49 +01:00

View File

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