authentik: init

This commit is contained in:
Rouven Seifert 2025-04-15 14:59:20 +02:00
parent 98ab04d0c5
commit 0e373b50f8
3 changed files with 29 additions and 7 deletions

View file

@ -0,0 +1,20 @@
{ config, ... }:
let
domain = "idm.${config.networking.domain}";
in
{
age.secrets.authentik-core = {
file = ../../../../secrets/nuc/authentik/core.age;
};
sops.secrets."authentik/env" = { };
services.authentik = {
enable = true;
nginx = {
enable = true;
host = domain;
enableACME = true;
};
environmentFile = config.sops.secrets."authentik/env".path;
};
}