From 4010c2c258e921beda9af7194af08c0f547bd7c4 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 30 May 2026 18:05:26 +0200 Subject: server2/nextcloud: Upgrade from nextcloud32 to nextcloud33 --- hosts/by-name/server2/configuration.nix | 8 +++++++- modules/by-name/ne/nextcloud/module.nix | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix index 5b85e69..8cdd45d 100644 --- a/hosts/by-name/server2/configuration.nix +++ b/hosts/by-name/server2/configuration.nix @@ -1,4 +1,8 @@ -{lib, ...}: { +{ + lib, + pkgs, + ... +}: { imports = [ ./networking.nix # network configuration that just works ./hardware.nix @@ -59,9 +63,11 @@ }; nextcloud = { enable = true; + package = pkgs.nextcloud33; hostname = "nextcloud.vhack.eu"; adminpassFile = ./secrets/nextcloud/adminpassFile.age; }; + nginx = { enable = true; redirects = { diff --git a/modules/by-name/ne/nextcloud/module.nix b/modules/by-name/ne/nextcloud/module.nix index 3e1ef3e..f91ddae 100644 --- a/modules/by-name/ne/nextcloud/module.nix +++ b/modules/by-name/ne/nextcloud/module.nix @@ -43,6 +43,8 @@ in { services = { nextcloud = { enable = true; + inherit (cfg) package; + extraApps = { inherit (cfg.package.packages.apps) calendar contacts tasks; }; @@ -59,7 +61,6 @@ in { hostName = cfg.hostname; https = true; maxUploadSize = "5G"; - package = cfg.package; settings = { default_phone_region = "DE"; }; -- cgit v1.3.1