Compare commits

..

4 Commits

1 changed files with 17 additions and 0 deletions

View File

@ -45,7 +45,23 @@
extraOptions = { extraOptions = {
mail_smtpmode = "sendmail"; mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe"; mail_sendmailmode = "pipe";
enable_previews = true;
enabledPreviewProviders = [
''OC\Preview\Movie''
''OC\Preview\PNG''
''OC\Preview\JPEG''
''OC\Preview\GIF''
''OC\Preview\BMP''
''OC\Preview\XBitmap''
''OC\Preview\MP3''
''OC\Preview\MP4''
''OC\Preview\TXT''
''OC\Preview\MarkDown''
''OC\Preview\PDF''
];
"overwrite.cli.url" = "https://${config.services.nextcloud.hostName}";
}; };
globalProfiles = true;
phpOptions = { phpOptions = {
"opcache.interned_strings_buffer" = "10"; "opcache.interned_strings_buffer" = "10";
@ -54,6 +70,7 @@
"opcache.revalidate_freq" = "60"; "opcache.revalidate_freq" = "60";
"opcache.save_comments" = "1"; "opcache.save_comments" = "1";
}; };
phpExtraExtensions = ex: [ ex.zip ex.zlib ex.tidy ];
}; };
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = { services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true; forceSSL = true;