22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-11 10:44:10 +02:00

nextcloud: resolve renamed option

This commit is contained in:
Sandro - 2024-01-01 22:37:38 +01:00
parent f7528ff523
commit 38c5ee92ba
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -44,8 +44,6 @@ in
};
nextcloud = {
# otherwise the Logging App does not function
logType = lib.mkIf cfg.recommendedDefaults "file";
phpOptions = lib.mkIf cfg.recommendedDefaults {
# 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
@ -54,6 +52,11 @@ in
};
extraOptions = lib.mkMerge [
(lib.mkIf cfg.recommendedDefaults {
# otherwise the Logging App does not function
log_type = "file";
})
(lib.mkIf cfg.configureImaginary {
enabledPreviewProviders = [
# default from https://github.com/nextcloud/server/blob/master/config/config.sample.php#L1295-L1304