25 lines
578 B
Nix
25 lines
578 B
Nix
{ ... }:
|
|
{
|
|
authelia.instances."auth" = {
|
|
enable = true;
|
|
settings = {
|
|
authentication_backend = {
|
|
ldap = {
|
|
address = "ldap://127.0.0.1:389";
|
|
implementation = "lldap";
|
|
timeout = "5s";
|
|
base_dn = "dc=home,dc=2rjus,dc=net";
|
|
attributes = {
|
|
distinguished_name = "distinguishedName";
|
|
username = "user_id";
|
|
display_name = "displayName";
|
|
mail = "mail";
|
|
member_of = "memberOf";
|
|
group_name = "cn";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|