diff --git a/nixos/modules/services/databases/openldap.nix b/nixos/modules/services/databases/openldap.nix
index 9bb0640439475..94fc155000e24 100644
--- a/nixos/modules/services/databases/openldap.nix
+++ b/nixos/modules/services/databases/openldap.nix
@@ -204,9 +204,9 @@ in {
especially with large databases.
Note that the root of the DB must be defined in
- services.openldap.settings
and the
- olcDbDirectory
must begin with
- "/var/lib/openldap".
+ `services.openldap.settings` and the
+ `olcDbDirectory` must begin with
+ `"/var/lib/openldap"`.
'';
example = lib.literalExpression ''
{