lol

Merge: nixos/nextcloud: configure redis by default (#421813)

authored by

Maximilian Bosch and committed by
GitHub
3e41a080 e25c3a4a

+8 -3
+2
nixos/doc/manual/release-notes/rl-2511.section.md
··· 161 161 162 162 - `services.dnscrypt-proxy2` gains a `package` option to specify dnscrypt-proxy package to use. 163 163 164 + - `services.nextcloud.configureRedis` now defaults to `true` in accordance with upstream recommendations to have caching for file locking. See the [upstream doc](https://docs.nextcloud.com/server/31/admin_manual/configuration_files/files_locking_transactional.html) for further details. 165 + 164 166 - `services.gitea` supports sending notifications with sendmail again. To do this, activate the parameter `services.gitea.mailerUseSendmail` and configure SMTP server. 165 167 166 168 - `libvirt` now supports using `nftables` backend.
+5 -2
nixos/modules/services/web-apps/nextcloud.nix
··· 772 772 773 773 configureRedis = lib.mkOption { 774 774 type = lib.types.bool; 775 - default = config.services.nextcloud.notify_push.enable; 776 - defaultText = lib.literalExpression "config.services.nextcloud.notify_push.enable"; 775 + default = true; 777 776 description = '' 778 777 Whether to configure Nextcloud to use the recommended Redis settings for small instances. 778 + 779 + ::: {.note} 780 + The Nextcloud system check recommends to configure either Redis or Memcache for file lock caching. 781 + ::: 779 782 780 783 ::: {.note} 781 784 The `notify_push` app requires Redis to be configured. If this option is turned off, this must be configured manually.
+1 -1
nixos/tests/nextcloud/with-mysql-and-memcached.nix
··· 23 23 services.nextcloud = { 24 24 caching = { 25 25 apcu = true; 26 - redis = false; 27 26 memcached = true; 28 27 }; 29 28 config.dbtype = "mysql"; 29 + configureRedis = false; 30 30 }; 31 31 32 32 services.memcached.enable = true;