From 7695c856f1d5d8292de2c7b94bf61517132aba84 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Sat, 20 May 2023 00:18:58 +0200 Subject: [PATCH] ldap: improve the documentation --- default.nix | 3 ++- scripts/generate-options.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index f98b4ad..2cb7d3d 100644 --- a/default.nix +++ b/default.nix @@ -225,6 +225,7 @@ in tlsCAFile = mkOption { type = types.path; default = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; + defaultText = lib.literalMD "see [source](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/blob/master/default.nix)"; description = '' Certifificate trust anchors used to verify the LDAP server certificate. ''; @@ -324,7 +325,7 @@ in example = "(&(objectClass=inetOrgPerson)(mail=%s))"; description = '' LDAP filter used to search for an account by mail, where - %s is a substitute for the address in + `%s` is a substitute for the address in question. ''; }; diff --git a/scripts/generate-options.py b/scripts/generate-options.py index a4973b1..75a25ae 100644 --- a/scripts/generate-options.py +++ b/scripts/generate-options.py @@ -27,6 +27,7 @@ groups = ["mailserver.loginAccounts", "mailserver.dmarcReporting", "mailserver.fullTextSearch", "mailserver.redis", + "mailserver.ldap", "mailserver.monitoring", "mailserver.backup", "mailserver.borgbackup"]