3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
Maximilian Bosch e1e15974f8
nextcloud20: drop
The version 20 of Nextcloud will be EOLed by the end of this month[1].

Since the recommended default (that didn't raise an eval-warning) on
21.05 was Nextcloud 21, this shouldn't affect too many people.

In order to ensure that nobody does a (not working) upgrade across
several major-versions of Nextcloud, I replaced the derivation of
`nextcloud20` with a `throw` that provides instructions how to proceed.

The only case that I consider "risky" is a setup upgraded from 21.05 (or
older) with a `system.stateVersion` <21.11 and with
`services.nextcloud.package` not explicitly declared in its config. To
avoid that, I also left the `else-if` for `stateVersion < 21.03` which
now sets `services.nextcloud.package` to `pkgs.nextcloud20` and thus
leads to an eval-error. This condition can be removed
as soon as 21.05 is EOL because then it's safe to assume that only
21.11. is used as stable release where no Nextcloud <=20 exists that can
lead to such an issue.

It can't be removed earlier because then every `system.stateVersion <
21.11` would lead to `nextcloud21` which is a problem if `nextcloud19`
is still used.

[1] https://docs.nextcloud.com/server/20/admin_manual/release_schedule.html
2021-10-25 01:34:47 +02:00
..
admin nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
amqp nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
audio Merge pull request #136909 from ncfavier/cleanup-defaults-examples 2021-10-04 20:37:42 +02:00
backup nixos/borgbackup: allow dump scripts as stdin inputs 2021-10-22 16:31:50 -04:00
blockchain/ethereum nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cluster nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
computing nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
continuous-integration nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
databases nixos/influxdb: Fix cross compilation for config.toml 2021-10-10 10:34:55 +02:00
desktops Merge pull request #136909 from ncfavier/cleanup-defaults-examples 2021-10-04 20:37:42 +02:00
development blackfire: 1.49.4 → 2.5.1 2021-10-21 17:40:19 +02:00
display-managers nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
editors nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
games nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
hardware Merge pull request #139502 from Vodurden/nixos-unstable 2021-10-07 13:54:30 +02:00
logging nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
mail roundcube: 1.4.11 -> 1.5.0 2021-10-18 23:27:00 +02:00
misc Merge pull request #142028 from NixOS/bugfix/subsonic-needs-jdk8 2021-10-18 20:44:41 +02:00
monitoring nixos/grafana: fix systemd unit 2021-10-23 14:33:31 +02:00
network-filesystems nixos/samba: Add openFirewall option 2021-10-19 19:11:02 +11:00
networking nixos/mosquitto: rewrite the module 2021-10-22 16:06:55 -04:00
printing nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
scheduling nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
search nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
security pythonPackages.privacyidea-ldap-proxy: 0.6.1 -> 0.6.2, switch to python3 2021-10-18 21:14:35 +02:00
system Merge pull request #140604 from obadz/earlyoom-stderr 2021-10-05 17:16:59 +02:00
torrent transmission: add extraFlags configuration option 2021-10-21 23:36:06 +02:00
ttys nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
video nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
wayland nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
web-apps nextcloud20: drop 2021-10-25 01:34:47 +02:00
web-servers nixos/nginx: disable MemoryDenyWriteExecute for pkgs.openresty 2021-10-12 16:28:53 -04:00
x11 Merge pull request #142273 from ju1m/display-managers 2021-10-23 03:58:21 +03:00