From eb3f23d9bafbaad93aa0a52bc8caf84b3b7b9b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 23 Oct 2016 15:58:37 +0200 Subject: [PATCH] openldap: apply correct type for configDir null is not a path --- nixos/modules/services/databases/openldap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/databases/openldap.nix b/nixos/modules/services/databases/openldap.nix index 54556597b74..b8e6c0cec3d 100644 --- a/nixos/modules/services/databases/openldap.nix +++ b/nixos/modules/services/databases/openldap.nix @@ -54,7 +54,7 @@ in }; configDir = mkOption { - type = types.path; + type = types.nullOr types.path; default = null; description = "Use this optional config directory instead of using slapd.conf"; example = "/var/db/slapd.d";