Skip to content

Commit 0a41a8c

Browse files
Merge pull request #314 from NuschtOS/nextcloud
nextcloud: move some options from c3d2 my config to here
2 parents 83af944 + 1a9a340 commit 0a41a8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/nextcloud.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,13 @@ in
6161
];
6262

6363
phpOptions = lib.mkIf cfg.recommendedDefaults {
64+
# recommended by nextcloud admin overview after some usage, default 8
65+
"opcache.interned_strings_buffer" = 16;
6466
# https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#:~:text=opcache.jit%20%3D%201255%20opcache.jit_buffer_size%20%3D%20128m
6567
"opcache.jit" = 1255;
6668
"opcache.jit_buffer_size" = "128M";
69+
# https://docs.nextcloud.com/server/32/admin_manual/installation/server_tuning.html#enable-php-opcache
70+
"opcache.revalidate_freq" = 60; # default 1
6771
};
6872

6973
settings = lib.mkMerge [

0 commit comments

Comments
 (0)