diff --git a/hosts/nuc/modules/authentik/default.nix b/hosts/nuc/modules/authentik/default.nix index 99ed27e..5ee7e45 100644 --- a/hosts/nuc/modules/authentik/default.nix +++ b/hosts/nuc/modules/authentik/default.nix @@ -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 '';