nextcloud module upgrade

This commit is contained in:
Danilo Reyes 2024-06-09 13:14:39 -06:00
parent 899928c1ef
commit 5faf09f546

View File

@ -157,7 +157,7 @@ in {
nextcloud = { nextcloud = {
enable = true; enable = true;
https = true; https = true;
package = pkgs.nextcloud27; package = pkgs.nextcloud28;
appstoreEnable = true; appstoreEnable = true;
configureRedis = true; configureRedis = true;
extraAppsEnable = true; extraAppsEnable = true;
@ -167,14 +167,10 @@ in {
config = { config = {
adminpassFile = "${pkgs.writeText "adminpass" adminpassFile = "${pkgs.writeText "adminpass"
"Overlying-Hatchback-Charting-Encounter-Deface-Gallantly7"}"; "Overlying-Hatchback-Charting-Encounter-Deface-Gallantly7"}";
overwriteProtocol = "https";
defaultPhoneRegion = "MX";
dbtype = "pgsql"; dbtype = "pgsql";
dbhost = postgresSocket; dbhost = postgresSocket;
dbtableprefix = "oc_"; dbtableprefix = "oc_";
dbname = "nextcloud"; dbname = "nextcloud";
trustedProxies = [ "nginx" ];
extraTrustedDomains = [ "cloud.rotehaare.art" "danilo-reyes.com" ];
}; };
phpOptions = { phpOptions = {
catch_workers_output = "yes"; catch_workers_output = "yes";
@ -196,7 +192,11 @@ in {
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt"; "openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
short_open_tag = "Off"; short_open_tag = "Off";
}; };
extraOptions = { settings = {
trusted_proxies = [ "nginx" ];
trusted_domains = [ "cloud.rotehaare.art" "danilo-reyes.com" ];
overwrite_protocol = "https";
default_phone_region = "MX";
"allow_local_remote_servers" = true; "allow_local_remote_servers" = true;
mail_smtpmode = "sendmail"; mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe"; mail_sendmailmode = "pipe";