summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorVictor SENE <victor@sene.ovh>2018-10-08 11:59:47 +0200
committerRobin Gloster <mail@glob.in>2018-10-22 19:50:37 +0200
commit2a164f598cabdc231127c6fba08eada7a3c1abc4 (patch)
tree030e1488954b84e12fca70d3d1da88386b7d631e /nixos
parent01fcaf8d29b74fe163d34328b15edbbb828577d6 (diff)
downloadnixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.tar
nixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.tar.gz
nixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.tar.bz2
nixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.tar.lz
nixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.tar.xz
nixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.tar.zst
nixpkgs-2a164f598cabdc231127c6fba08eada7a3c1abc4.zip
nixos/nextcloud: extend documentation for nginx configuration
Co-authored-by: Robin Gloster <mail@glob.in>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index db4c8e1a3d8..797d410dbeb 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -70,7 +70,15 @@ in {
       '';
     };
 
-    nginx.enable = mkEnableOption "nginx vhost management";
+    nginx.enable = mkOption {
+      type = types.bool;
+      default = false;
+      description = ''
+        Whether to enable nginx virtual host management.
+        Further nginx configuration can be done by adapting <literal>services.nginx.virtualHosts.&lt;name&gt;</literal>.
+        See <xref linkend="opt-services.nginx.virtualHosts"/> for further information.
+      '';
+    };
 
     webfinger = mkOption {
       type = types.bool;