From 6a0f69e5c16bfe4d6af0e0b302e14b65f9af8006 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 7 Jun 2024 16:18:42 +0200 Subject: [PATCH] services: nextcloud: switch to new settings --- services/nextcloud.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/services/nextcloud.nix b/services/nextcloud.nix index 8c9ee12..55c4e33 100644 --- a/services/nextcloud.nix +++ b/services/nextcloud.nix @@ -67,10 +67,6 @@ in { maxUploadSize = "1G"; config = { - overwriteProtocol = "https"; - - defaultPhoneRegion = "FR"; - dbtype = "pgsql"; dbuser = "nextcloud"; dbname = dbName; @@ -79,6 +75,11 @@ in { adminuser = "admin"; adminpassFile = cfg.adminpassFile; }; + + settings = { + default_phone_region = "FR"; + overwriteprotocol = "https"; + }; }; users.groups.media.members = ["nextcloud"];