mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-21 19:18:46 +02:00
authentik: enable ldap again
This commit is contained in:
parent
6a9d4dd1db
commit
147f137d48
1 changed files with 7 additions and 7 deletions
|
@ -6,9 +6,9 @@ in
|
||||||
age.secrets.authentik-core = {
|
age.secrets.authentik-core = {
|
||||||
file = ../../../../secrets/nuc/authentik/core.age;
|
file = ../../../../secrets/nuc/authentik/core.age;
|
||||||
};
|
};
|
||||||
# age.secrets.authentik-ldap = {
|
age.secrets.authentik-ldap = {
|
||||||
# file = ../../../../secrets/nuc/authentik/ldap.age;
|
file = ../../../../secrets/nuc/authentik/ldap.age;
|
||||||
# };
|
};
|
||||||
services.authentik = {
|
services.authentik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.age.secrets.authentik-core.path;
|
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"
|
"${domain}.key:/var/lib/caddy/certificates/acme-v02.api.letsencrypt.org-directory/${domain}/${domain}.key"
|
||||||
];
|
];
|
||||||
|
|
||||||
# services.authentik-ldap = {
|
services.authentik-ldap = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# environmentFile = config.age.secrets.authentik-ldap.path;
|
environmentFile = config.age.secrets.authentik-ldap.path;
|
||||||
# };
|
};
|
||||||
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
||||||
reverse_proxy localhost:9000
|
reverse_proxy localhost:9000
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue