Merge pull request #182648 from SuperSandro2000/hedgedoc-module

nixos/hedgedoc: improve ldap settings
This commit is contained in:
Sandro 2022-07-24 16:33:11 +02:00 committed by GitHub
commit 8f89704410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.