summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/nextcloud.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-10-06 17:33:31 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2021-10-06 17:33:31 +0200
commitfb405269612ce6df5021e97d57dca9be3bfeed86 (patch)
tree10c3816a882b5eeac42892c4fcc57e6ff31e6d58 /nixos/modules/services/web-apps/nextcloud.nix
parent5e2018f7b383aeca6824a30c0cd1978c9532a46a (diff)
downloadnixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.tar
nixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.tar.gz
nixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.tar.bz2
nixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.tar.lz
nixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.tar.xz
nixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.tar.zst
nixpkgs-fb405269612ce6df5021e97d57dca9be3bfeed86.zip
nixos/nextcloud: minor manual improvements
* Linkify documentation about objectstore-feature rather than only
  mentioning it.
* Use `<literal>` where it makes sense.
* Remove unnecessary `Whether to load` from `enableImagemagick` because
  `mkEnableOption` already prepends `Whether to enable` to the given
  description.
Diffstat (limited to 'nixos/modules/services/web-apps/nextcloud.nix')
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index 886e030b80c..cb755b99c91 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
+            <link xlink:href="https://docs.nextcloud.com/server/22/admin_manual/configuration_files/primary_storage.html">upstream documentation</link>.
           '';
           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
+              <literal>http://bucket.hostname.domain/</literal>, but with path style
               enabled requests are made with
-              http://hostname.domain/bucket instead.
+              <literal>http://hostname.domain/bucket</literal> 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).