Add lldap service.

Add LDAP service, to allow me to more easily add users to authelia, and
other SSO solutions.
This commit is contained in:
Lorenzo Good 2025-12-31 20:22:58 -06:00
parent b0657027e6
commit 4e8d6c128a
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
5 changed files with 91 additions and 3 deletions

View file

@ -33,6 +33,14 @@
storageEncryptionKeyFile = config.sops.secrets.authelia-storage-encryption.path;
};
services.lldap = {
enable = true;
url = "https://lldap.foehammer.me";
base_dn = "dc=foehammer,dc=me";
adminUserPasswordFile = config.sops.secrets.lldap-admin-password.path;
};
services.vaultwarden = {
enable = true;
domain = "https://passwords.foehammer.me";

View file

@ -18,6 +18,8 @@
restic-password = {owner = "restic";};
restic-repository = {owner = "restic";};
lldap-admin-password.owner = "lldap";
authelia-jwtsecret = autheliaSecret;
authelia-oidc-privkey = autheliaSecret;
authelia-oidc-hmac = autheliaSecret;

View file

@ -13,6 +13,8 @@
"/var/lib/authelia-main"
"/var/lib/caddy/.local/share/caddy"
"/var/lib/vaultwarden"
{ directory = "/var/lib/private/lldap"; user = "lldap"; group = "lldap"; mode = "0700"; }
];
files = [