From b1f8129a1e3ab1ba1e97c63479466b163727432b Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 31 Dec 2022 19:02:57 +0100 Subject: [PATCH] services: work on initial nextcloud --- modules/services/server/nextcloud.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/services/server/nextcloud.nix b/modules/services/server/nextcloud.nix index ce75ac2..9f68d49 100644 --- a/modules/services/server/nextcloud.nix +++ b/modules/services/server/nextcloud.nix @@ -3,18 +3,25 @@ { services.nextcloud = { enable = true; - hostName = "cloud.kabtop.de"; + hostName = "cloud2.kabtop.de"; https = true; + package = pkgs.nextcloud25; config = { dbtype = "pgsql"; dbuser = "nextcloud"; dbhost = "localhost"; dbname = "nextclouddb"; - dbport = adminuser = "kabbone"; adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path; dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path; + overwriteProtocol = "https"; + defaultPhoneRegion = "DE"; }; + #phpExtraExtensions = ; + #extraApps = with pkgs.nextcloud25Packages.apps; { + # inherit mail news contacts; + #}; + #autoUpdateApps.enable = true; }; age.secrets."services/nextcloud/dbpassFile" = {