@@ -153,7 +153,7 @@ in {
153153 package = mkOption {
154154 type = types.package;
155155 description = "Which package to use for the Nextcloud instance.";
156− relatedPackages = [ "nextcloud21" "nextcloud22" "nextcloud23" ];
156+ relatedPackages = [ "nextcloud22" "nextcloud23" ];
157157 };
158158 phpPackage = mkOption {
159159 type = types.package;
@@ -571,15 +571,6 @@ in {
571571 nextcloud defined in an overlay, please set `services.nextcloud.package` to
572572 `pkgs.nextcloud`.
573573 ''
574− # 21.03 will not be an official release - it was instead 21.05.
575− # This versionOlder statement remains set to 21.03 for backwards compatibility.
576− # See https://github.com/NixOS/nixpkgs/pull/108899 and
577− # https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md.
578− # FIXME(@Ma27) remove this else-if as soon as 21.05 is EOL! This is only here
579− # to ensure that users who are on Nextcloud 19 with a stateVersion <21.05 with
580− # no explicit services.nextcloud.package don't upgrade to v21 by accident (
581− # nextcloud20 throws an eval-error because it's dropped).
582− else if versionOlder stateVersion "21.03" then nextcloud20
583574 else if versionOlder stateVersion "21.11" then nextcloud21
584575 else if versionOlder stateVersion "22.05" then nextcloud22
585576 else nextcloud23