nixos/nextcloud: set 29 as default version for >= 24.11

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-04-24 19:33:52 +02:00 committed by Maximilian Bosch
parent 3ebf8d0bf8
commit 04e7710507
No known key found for this signature in database

View File

@ -819,7 +819,8 @@ in {
++ (optional (versionOlder cfg.package.version "25") (upgradeWarning 24 "22.11"))
++ (optional (versionOlder cfg.package.version "26") (upgradeWarning 25 "23.05"))
++ (optional (versionOlder cfg.package.version "27") (upgradeWarning 26 "23.11"))
++ (optional (versionOlder cfg.package.version "28") (upgradeWarning 27 "24.05"));
++ (optional (versionOlder cfg.package.version "28") (upgradeWarning 27 "24.05"))
++ (optional (versionOlder cfg.package.version "29") (upgradeWarning 28 "24.11"));
services.nextcloud.package = with pkgs;
mkDefault (
@ -832,7 +833,8 @@ in {
else if versionOlder stateVersion "23.05" then nextcloud25
else if versionOlder stateVersion "23.11" then nextcloud26
else if versionOlder stateVersion "24.05" then nextcloud27
else nextcloud28
else if versionOlder stateVersion "24.11" then nextcloud28
else nextcloud29
);
services.nextcloud.phpPackage = pkgs.php82;