From eccdb771cee2c2ec839a5cfe2a3a5997ec5f6765 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Mon, 6 Nov 2023 19:25:49 +0100 Subject: [PATCH] magpie/nextcloud: tune php interpreter --- magpie/configuration.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/magpie/configuration.nix b/magpie/configuration.nix index 01b1bc2..7bda3ac 100644 --- a/magpie/configuration.nix +++ b/magpie/configuration.nix @@ -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,14 +117,11 @@ "OC\\Preview\\XBitmap" ]; }; - phpOptions = - phpOptions.default - // { - "opcache.jit" = "tracing"; - "opcache.jit_buffer_size" = "100M"; - # recommended by nextcloud admin overview - "opcache.interned_strings_buffer" = "16"; - }; + phpOptions = { + "opcache.jit" = "tracing"; + "opcache.jit_buffer_size" = "100M"; + "opcache.interned_strings_buffer" = "16"; + }; }; services.nginx = {