nuc: configure authentik

This commit is contained in:
Rouven Seifert 2024-05-20 12:19:05 +02:00
parent dacf54aa9c
commit 21da78256c
7 changed files with 287 additions and 12 deletions

View file

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