Compare commits
4 Commits
f4e0d49672
...
9dc390d1a4
Author | SHA1 | Date |
---|---|---|
Mateusz Słodkowicz | 9dc390d1a4 | |
Mateusz Słodkowicz | c2cac01772 | |
Mateusz Słodkowicz | 9329921cfb | |
Mateusz Słodkowicz | 4d4157e63a |
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue