WIP: Authentik

This commit is contained in:
pazpi 2025-01-12 22:27:37 +01:00
parent 79bfb5e7e3
commit a1bc147b90
9 changed files with 440 additions and 17 deletions

View file

@ -0,0 +1,38 @@
{
config,
pkgs,
lib,
imports,
...
}:
{
age.secrets.authentik-env.file = ../../secrets/authentik-env.age;
my = {
utils = {
commons.enable = true;
lxc-standard.enable = true;
};
services.authentik = {
enable = true;
envFile = config.age.secrets.authentik-env.path;
email = {
host = "smtp.eu.mailgun.org";
port = 587;
username = "Auth Pazpi.top";
use_tls = true;
use_ssl = false;
from = "auth@pazpi.top";
};
proxy.domain = "tegola.pro";
};
virtualisation.proxmox.enable = true;
};
# Extra packages
environment.systemPackages = with pkgs; [ ];
system.stateVersion = "24.11";
}