@@ -249,22 +249,19 @@ let
249249 nginx = mkOption {
250250 type = types.submodule (
251251 recursiveUpdate
252− (import ../web-servers/nginx/vhost-options.nix { inherit config lib; })
253− {
254− # Enable encryption by default,
255− options.forceSSL.default = true;
256− options.enableACME.default = true;
257− }
252+ (import ../web-servers/nginx/vhost-options.nix { inherit config lib; }) {}
258253 );
259− default = {forceSSL = true; enableACME = true;};
254+ default = {};
260255 example = {
261256 serverAliases = [
262257 "wiki.\${config.networking.domain}"
263258 ];
264− enableACME = false;
259+ # To enable encryption and let let's encrypt take care of certificate
260+ forceSSL = true;
261+ enableACME = true;
265262 };
266263 description = ''
267− With this option, you can customize the nginx virtualHost which already has sensible defaults for DokuWiki.
264+ With this option, you can customize the nginx virtualHost settings.
268265 '';
269266 };
270267 };
@@ -276,7 +273,7 @@ in
276273 services.dokuwiki = mkOption {
277274 type = types.attrsOf (types.submodule siteOpts);
278275 default = {};
279− description = "Sepcification of one or more dokuwiki sites to service.";
276+ description = "Sepcification of one or more dokuwiki sites to serve.";
280277 };
281278 };
282279