From 1365b9ac700aabe8dc959e9897bc1376e416c553 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 7 Aug 2020 03:27:42 +0200 Subject: [PATCH] nixos/manual: Fix build In fd9eb16b249aad1d5e231b8329035abfab5fc0eb, the option "services.nextcloud.nginx.enable" has been removed since the module now exclusively supports nginx only. Unfortunately, with the option gone from the manual, the link in the Nextcloud-specific documentation referencing the NixOS option also became a dead link and thus the manual will no longer build. I also removed a second reference to this option in the Nextcloud- specific documentation, which while it doesn't lead to a build error in the manual is nevertheless a good idea to remove as well to ensure we don't present outdated information to readers of the manual. Signed-off-by: aszlig Cc: @DavHau, @Ma27 --- nixos/modules/services/web-apps/nextcloud.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/web-apps/nextcloud.xml b/nixos/modules/services/web-apps/nextcloud.xml index 332e4d1ff3e..f8b92244c89 100644 --- a/nixos/modules/services/web-apps/nextcloud.xml +++ b/nixos/modules/services/web-apps/nextcloud.xml @@ -29,7 +29,6 @@ services.nextcloud = { enable = true; hostName = "nextcloud.tld"; - nginx.enable = true; config = { dbtype = "pgsql"; dbuser = "nextcloud"; @@ -61,9 +60,8 @@ - The options hostName and nginx.enable - are used internally to configure an HTTP server using - PHP-FPM + The hostName option is used internally to configure an HTTP + server using PHP-FPM and nginx. The config attribute set is used by the imperative installer and all values are written to an additional file to ensure that changes can be applied by changing the module's options.