services: nextcloud: switch to new settings

This commit is contained in:
Antoine Martin 2024-06-07 16:18:42 +02:00
parent b6b246f6f4
commit 6a0f69e5c1

View file

@ -67,10 +67,6 @@ in {
maxUploadSize = "1G"; maxUploadSize = "1G";
config = { config = {
overwriteProtocol = "https";
defaultPhoneRegion = "FR";
dbtype = "pgsql"; dbtype = "pgsql";
dbuser = "nextcloud"; dbuser = "nextcloud";
dbname = dbName; dbname = dbName;
@ -79,6 +75,11 @@ in {
adminuser = "admin"; adminuser = "admin";
adminpassFile = cfg.adminpassFile; adminpassFile = cfg.adminpassFile;
}; };
settings = {
default_phone_region = "FR";
overwriteprotocol = "https";
};
}; };
users.groups.media.members = ["nextcloud"]; users.groups.media.members = ["nextcloud"];