nextcloud22: init at 22.0.0

Simplified, non-breaking version of e05f4101c16f08058a14ac4335886567e1ffe987.
This commit is contained in:
Maximilian Bosch 2021-07-12 23:27:57 +02:00
parent b58ae55e22
commit f8b79de69e
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
4 changed files with 10 additions and 5 deletions

View File

@ -92,7 +92,7 @@ in {
package = mkOption {
type = types.package;
description = "Which package to use for the Nextcloud instance.";
relatedPackages = [ "nextcloud19" "nextcloud20" "nextcloud21" ];
relatedPackages = [ "nextcloud19" "nextcloud20" "nextcloud21" "nextcloud22" ];
};
maxUploadSize = mkOption {
@ -385,7 +385,7 @@ in {
];
warnings = let
latest = 21;
latest = 22;
upgradeWarning = major: nixos:
''
A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.

View File

@ -11,8 +11,8 @@
desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
</para>
<para>
The current default by NixOS is <package>nextcloud21</package> which is also the latest
major version available.
The current default by NixOS is <package>nextcloud21</package>. The latest version available is
<package>nextcloud22</package>.
</para>
<section xml:id="module-services-nextcloud-basic-usage">
<title>Basic usage</title>

View File

@ -63,6 +63,11 @@ in {
version = "21.0.3";
sha256 = "8adcd175c7a70c33332586fa9ce36d03ba02d1df5d4c334d1210201d3fb953ee";
};
nextcloud22 = generic {
version = "22.0.0";
sha256 = "sha256-ORHTdUw3rKfJtfOys3UTwPK1u5ea8AgWwRF7Hu28XXo=";
};
# tip: get she sha with:
# curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
}

View File

@ -7075,7 +7075,7 @@ in
grocy = callPackage ../servers/grocy { };
inherit (callPackage ../servers/nextcloud {})
nextcloud18 nextcloud19 nextcloud20 nextcloud21;
nextcloud18 nextcloud19 nextcloud20 nextcloud21 nextcloud22;
nextcloud-client = libsForQt5.callPackage ../applications/networking/nextcloud-client { };