nextcloud22: init at 22.0.0
Simplified, non-breaking version of e05f4101c16f08058a14ac4335886567e1ffe987.
This commit is contained in:
parent
b58ae55e22
commit
f8b79de69e
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue