Connect Authelia to LDAP with LLDAP

This commit is contained in:
Lorenzo Good 2025-12-31 22:54:03 -06:00
parent 7f14aaaa3d
commit 13c43273a5
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
6 changed files with 59 additions and 8 deletions

View file

@ -23,6 +23,12 @@ in {
'';
};
ldap_port = mkOption {
type = lib.types.port;
default = 3890;
description = "LDAP Port";
};
environmentFile = mkOption {
type = types.nullOr types.path;
default = null;
@ -56,6 +62,7 @@ in {
# Base setup.
http_port = cfg.port;
http_url = cfg.url;
ldap_port = cfg.ldap_port;
ldap_base_dn = cfg.base_dn;
jwt_secret_file = cfg.jwtSecretFile;
@ -71,5 +78,7 @@ in {
group = "lldap";
};
users.groups.lldap = {};
systemd.services.lldap.serviceConfig.DynamicUser = lib.mkForce false;
};
}