From a5886eb6d089da5f83687fa2082534314facbc9c Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 8 Jun 2024 14:48:57 +0200 Subject: [PATCH] server: services: nextcloud: rework for new structure --- modules/services/server/nextcloud.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/services/server/nextcloud.nix b/modules/services/server/nextcloud.nix index b5ed5fe..8518ff6 100644 --- a/modules/services/server/nextcloud.nix +++ b/modules/services/server/nextcloud.nix @@ -9,15 +9,18 @@ enable = true; hostName = "cloud.kabtop.de"; https = true; - package = pkgs.nextcloud27; + package = pkgs.nextcloud29; database.createLocally = false; - logType = "file"; + notify_push.enable = true; caching = { redis = true; apcu = false; }; - extraOptions = { + settings = { + log_type = "file"; logfile = "nextcloud.log"; + overwriteprotocol = "https"; + default_phone_region = "DE"; redis = { host = "/run/redis-nextcloud/redis.sock"; port = 0; @@ -34,8 +37,6 @@ adminuser = "kabbone"; adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path; dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path; - overwriteProtocol = "https"; - defaultPhoneRegion = "DE"; }; phpOptions = { "opcache.interned_strings_buffer" = "16";