summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2023-05-20 00:18:58 +0200
committerlewo <lewo@abesis.fr>2023-07-11 19:31:20 +0000
commit7695c856f1d5d8292de2c7b94bf61517132aba84 (patch)
tree1693d9ce61810381974cf277722d4c0380f3dc7a
parentfb3210b9326b81dd24c6092a3da1a1168dff0b0d (diff)
ldap: improve the documentation
-rw-r--r--default.nix3
-rw-r--r--scripts/generate-options.py1
2 files changed, 3 insertions, 1 deletions
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
- <literal>%s</literal> 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"]