summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/databases/openldap.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/databases/openldap.nix')
-rw-r--r--nixos/modules/services/databases/openldap.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixos/modules/services/databases/openldap.nix b/nixos/modules/services/databases/openldap.nix
index cba3442023cb..a7a0909f55e1 100644
--- a/nixos/modules/services/databases/openldap.nix
+++ b/nixos/modules/services/databases/openldap.nix
@@ -91,13 +91,8 @@ in {
description = lib.mdDoc "Whether to enable the ldap server.";
};
- package = mkOption {
- type = types.package;
- default = pkgs.openldap;
- defaultText = literalExpression "pkgs.openldap";
- description = lib.mdDoc ''
- OpenLDAP package to use.
-
+ package = mkPackageOption pkgs "openldap" {
+ extraDescription = ''
This can be used to, for example, set an OpenLDAP package
with custom overrides to enable modules or other
functionality.