authentik: init ldap outpost
This commit is contained in:
parent
a6e807a5da
commit
45b80db740
2 changed files with 13 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue