git.iko.soy/typeable/nixpkgs
on master help sign in
nextcloud: improve documentation on defaults

* It should be made explicit in the eval-error that the CVE only affects a component which is turned off by default. * For more clarity, the default version used by the module is noted in the manual. Closes #108419

commit78f022e79133c514c3da3a220713451722284b54 authorMaximilian Bosch <maximilian@mbosch.me> dateTue 5 Jan 2021, 22:31 (6 years ago) parentf35bf8e
2 files changed+6−2
nixos/modules/services/web-apps/nextcloud.xml+5−1 pkgs/servers/nextcloud/default.nix+1−1
nixos/modules/services/web-apps/nextcloud.xml+5−1
@@ -10,6 +10,10 @@
1010 <link linkend="opt-services.nextcloud.enable">services.nextcloud</link>. A
1111 desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
1212 </para>
13+ <para>
14+ The current default by NixOS is <package>nextcloud20</package> which is also the latest
15+ major version available.
16+ </para>
1317 <section xml:id="module-services-nextcloud-basic-usage">
1418 <title>Basic usage</title>
1519
@@ -210,7 +214,7 @@
210214 nextcloud17 = generic {
211215 version = "17.0.x";
212216 sha256 = "0000000000000000000000000000000000000000000000000000";
213− insecure = true;
217+ eol = true;
214218 };
215219}</programlisting>
216220 </para>
pkgs/servers/nextcloud/default.nix+1−1
@@ -53,7 +53,7 @@ in {
5353 version = "19.0.6";
5454 sha256 = "sha256-pqqIayE0OyTailtd2zeYi+G1APjv/YHqyO8jCpq7KJg=";
5555 extraVulnerabilities = [
56− "Nextcloud 19 is still supported, but CVE-2020-8259 & CVE-2020-8152 are unfixed!"
56+ "Nextcloud 19 is still supported, but CVE-2020-8259 & CVE-2020-8152 are unfixed! Please note that both CVEs only affect the file encryption module which is turned off by default. Alternatively, `pkgs.nextcloud20` can be used."
5757 ];
5858 };
5959