From 2a164f598cabdc231127c6fba08eada7a3c1abc4 Mon Sep 17 00:00:00 2001 From: Victor SENE Date: Mon, 8 Oct 2018 11:59:47 +0200 Subject: [PATCH] nixos/nextcloud: extend documentation for nginx configuration Co-authored-by: Robin Gloster --- nixos/modules/services/web-apps/nextcloud.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 services.nginx.virtualHosts.<name>. + See for further information. + ''; + }; webfinger = mkOption { type = types.bool;