Merge pull request #182648 from SuperSandro2000/hedgedoc-module
nixos/hedgedoc: improve ldap settings
This commit is contained in:
commit
8f89704410
|
@ -843,7 +843,8 @@ in
|
|||
'';
|
||||
};
|
||||
searchAttributes = mkOption {
|
||||
type = types.listOf types.str;
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
default = null;
|
||||
example = [ "displayName" "mail" ];
|
||||
description = ''
|
||||
LDAP attributes to search with.
|
||||
|
@ -866,6 +867,7 @@ in
|
|||
};
|
||||
tlsca = mkOption {
|
||||
type = types.str;
|
||||
default = "/etc/ssl/certs/ca-certificates.crt";
|
||||
example = "server-cert.pem,root.pem";
|
||||
description = ''
|
||||
Root CA for LDAP TLS in PEM format.
|
||||
|
|
Loading…
Reference in a new issue