This commit is contained in:
root 2025-11-02 14:05:51 +00:00
commit d4bea4c7c5
12 changed files with 328 additions and 0 deletions

16
services/lldap.nix Normal file
View file

@ -0,0 +1,16 @@
{
services.lldap = {
enable = true;
settings = {
http_url = "https://login.distrust.network";
ldap_user_email = "root@distrust.network";
ldap_user_dn = "root";
ldap_base_dn = "dc=distrust,dc=network";
ldap_user_pass = "VERY_SECURE";
};
};
services.caddy.virtualHosts."login.distrust.network".extraConfig = ''
reverse_proxy localhost:17170
'';
}