authentik: enable ldap again

This commit is contained in:
Rouven Seifert 2025-05-16 14:06:28 +02:00
parent 6a9d4dd1db
commit 147f137d48

View file

@ -6,9 +6,9 @@ in
age.secrets.authentik-core = {
file = ../../../../secrets/nuc/authentik/core.age;
};
# age.secrets.authentik-ldap = {
# file = ../../../../secrets/nuc/authentik/ldap.age;
# };
age.secrets.authentik-ldap = {
file = ../../../../secrets/nuc/authentik/ldap.age;
};
services.authentik = {
enable = true;
environmentFile = config.age.secrets.authentik-core.path;
@ -21,10 +21,10 @@ in
"${domain}.key:/var/lib/caddy/certificates/acme-v02.api.letsencrypt.org-directory/${domain}/${domain}.key"
];
# services.authentik-ldap = {
# enable = true;
# environmentFile = config.age.secrets.authentik-ldap.path;
# };
services.authentik-ldap = {
enable = true;
environmentFile = config.age.secrets.authentik-ldap.path;
};
services.caddy.virtualHosts."${domain}".extraConfig = ''
reverse_proxy localhost:9000
'';