Files
tuxcord.nix/nixos/modules/authentik.nix
T
javalsai 833a21b1c1
Check / Nix flake (push) Failing after 8s
Lint / Nix expressions (push) Failing after 9s
draft: partially getting authentik to work
needs manual systemctl start once booted for now

its started at auth.tuxcord.test
2026-05-05 00:02:48 +02:00

18 lines
385 B
Nix

{ config, self, ... }:
let
inherit (config.networking) fqdn;
in
{
age.secrets.authentik.file = "${self}/agenix/authentik.age";
services.authentik = {
enable = true;
environmentFile = config.age.secrets.authentik.path; # just trust, this specifies port 3001
# nginx = {
# enable = true;
# enableACME = true;
# host = "auth.${fqdn}";
# };
};
}