diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-30 18:05:26 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-05-30 18:05:26 +0200 |
| commit | 4010c2c258e921beda9af7194af08c0f547bd7c4 (patch) | |
| tree | 10a049336d8cc3ede41f18bfa7985f03e2ea3ced | |
| parent | treewide: Update (diff) | |
| download | nixos-server-4010c2c258e921beda9af7194af08c0f547bd7c4.zip | |
server2/nextcloud: Upgrade from nextcloud32 to nextcloud33
| -rw-r--r-- | hosts/by-name/server2/configuration.nix | 8 | ||||
| -rw-r--r-- | 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"; }; |
