From fb405269612ce6df5021e97d57dca9be3bfeed86 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 6 Oct 2021 17:33:31 +0200 Subject: [PATCH] nixos/nextcloud: minor manual improvements * Linkify documentation about objectstore-feature rather than only mentioning it. * Use `` where it makes sense. * Remove unnecessary `Whether to load` from `enableImagemagick` because `mkEnableOption` already prepends `Whether to enable` to the given description. --- nixos/modules/services/web-apps/nextcloud.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 886e030b80c9..cb755b99c914 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -321,8 +321,8 @@ in { This mounts a bucket on an Amazon S3 object storage or compatible implementation into the virtual filesystem. - See nextcloud's documentation on "Object Storage as Primary - Storage" for more details. + Further details about this feature can be found in the + upstream documentation. ''; bucket = mkOption { type = types.str; @@ -389,9 +389,9 @@ in { Required for some non-Amazon S3 implementations. Ordinarily, requests will be made with - http://bucket.hostname.domain/, but with path style + http://bucket.hostname.domain/, but with path style enabled requests are made with - http://hostname.domain/bucket instead. + http://hostname.domain/bucket instead. ''; }; }; @@ -399,7 +399,7 @@ in { }; enableImagemagick = mkEnableOption '' - Whether to load the ImageMagick module into PHP. + the ImageMagick module for PHP. This is used by the theming app and for generating previews of certain images (e.g. SVG and HEIF). You may want to disable it for increased security. In that case, previews will still be available for some images (e.g. JPEG and PNG).