openldap: apply correct type for configDir

null is not a path
This commit is contained in:
Jörg Thalheim 2016-10-23 15:58:37 +02:00
parent 57a791b4ff
commit eb3f23d9ba
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -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";