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 = {