nextcloud32: init at 32.0.0

Subset of the original commit, without the breaking changes (i.e.
changes of defaults).

(cherry picked from commit 34a7111f89)
This commit is contained in:
provokateurin
2025-09-27 14:18:32 +02:00
committed by Maximilian Bosch
parent 757e0aa96f
commit fa2741c80f
6 changed files with 394 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ self-hostable cloud platform. The server setup can be automated using
[services.nextcloud](#opt-services.nextcloud.enable). A
desktop client is packaged at `pkgs.nextcloud-client`.
The current default by NixOS is `nextcloud31` which is also the latest
The current default by NixOS is `nextcloud32` which is also the latest
major version available.
## Basic usage {#module-services-nextcloud-basic-usage}

View File

@@ -447,6 +447,7 @@ in
relatedPackages = [
"nextcloud30"
"nextcloud31"
"nextcloud32"
];
};
phpPackage = mkPackageOption pkgs "php" {

View File

@@ -141,5 +141,6 @@ listToAttrs (
concatMap genTests [
30
31
32
]
)

View File

@@ -7,6 +7,7 @@
caBundle ? "${cacert}/etc/ssl/certs/ca-bundle.crt",
nextcloud30Packages,
nextcloud31Packages,
nextcloud32Packages,
}:
let
@@ -70,6 +71,12 @@ in
packages = nextcloud31Packages;
};
nextcloud32 = generic {
version = "32.0.0";
hash = "sha256-V0SNVdm4cQLxfDY0cyA0ahslj2AXxjuVjHie/ULjRaM=";
packages = nextcloud32Packages;
};
# tip: get the sha with:
# curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
}

File diff suppressed because one or more lines are too long

View File

@@ -3877,10 +3877,12 @@ with pkgs;
inherit (callPackages ../servers/nextcloud { })
nextcloud30
nextcloud31
nextcloud32
;
nextcloud30Packages = callPackage ../servers/nextcloud/packages { ncVersion = "30"; };
nextcloud31Packages = callPackage ../servers/nextcloud/packages { ncVersion = "31"; };
nextcloud32Packages = callPackage ../servers/nextcloud/packages { ncVersion = "32"; };
nextcloud-notify_push = callPackage ../servers/nextcloud/notify_push.nix { };