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
4 changed files with 10 additions and 5 deletions
@@ -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>