Merge pull request #108520 from Ma27/nextcloud-docs-2009

[20.09] nextcloud: improve documentation on defaults
This commit is contained in:
Maximilian Bosch
2021-01-07 12:00:34 +01:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@@ -360,6 +360,10 @@ in {
nextcloud19. If not, please upgrade to nextcloud18 first since Nextcloud doesn't
support upgrades that skip multiple versions (i.e. an upgrade from 17 to 19 isn't
possible, but an upgrade from 18 to 19).
'')
++ (optional (versionOlder cfg.package.version "20") ''
The latest Nextcloud release is v20 which can be installed by setting
`services.nextcloud.package` to `pkgs.nextcloud20`.
'');
services.nextcloud.package = with pkgs;

View File

@@ -10,6 +10,10 @@
<link linkend="opt-services.nextcloud.enable">services.nextcloud</link>. A
desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
</para>
<para>
The current default by NixOS is <package>nextcloud19</package> though it's recommended
to upgrade to the latest version, <package>nextcloud20</package>.
</para>
<section xml:id="module-services-nextcloud-basic-usage">
<title>Basic usage</title>
@@ -210,7 +214,7 @@
nextcloud17 = generic {
version = "17.0.x";
sha256 = "0000000000000000000000000000000000000000000000000000";
insecure = true;
eol = true;
};
}</programlisting>
</para>

View File

@@ -53,7 +53,7 @@ in {
version = "19.0.6";
sha256 = "sha256-pqqIayE0OyTailtd2zeYi+G1APjv/YHqyO8jCpq7KJg=";
extraVulnerabilities = [
"Nextcloud 19 is still supported, but CVE-2020-8259 & CVE-2020-8152 are unfixed!"
"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."
];
};