authentik: init ldap outpost

This commit is contained in:
Rouven Seifert 2025-05-27 00:42:53 +02:00
parent a6e807a5da
commit 45b80db740
2 changed files with 13 additions and 7 deletions

View file

@ -1,9 +1,10 @@
{ config, lib, ... }:
{ config, ... }:
let
domain = "idm.${config.networking.domain}";
in
{
sops.secrets."authentik/env" = { };
sops.secrets."authentik/core" = { };
sops.secrets."authentik/ldap" = { };
services.authentik = {
enable = true;
nginx = {
@ -11,6 +12,10 @@ in
host = domain;
enableACME = true;
};
environmentFile = config.sops.secrets."authentik/env".path;
environmentFile = config.sops.secrets."authentik/core".path;
};
services.authentik-ldap = {
enable = true;
environmentFile = config.sops.secrets."authentik/ldap".path;
};
}