From a38e90adf7d746cc9cb1c1e02a615e32556597fa Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Sun, 26 Jul 2026 08:45:30 +0000 Subject: move microvms to separate folder --- microvms/auth/authentik.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 microvms/auth/authentik.nix (limited to 'microvms/auth/authentik.nix') diff --git a/microvms/auth/authentik.nix b/microvms/auth/authentik.nix new file mode 100644 index 0000000..a1257ee --- /dev/null +++ b/microvms/auth/authentik.nix @@ -0,0 +1,17 @@ +{ config, inputs, ... }: +{ + imports = [ + inputs.authentik-nix.nixosModules.default + ]; + sops.secrets."authentik/env" = { }; + services.authentik = { + enable = true; + environmentFile = config.sops.secrets."authentik/env".path; + settings = { + log_level = "debug"; + disable_startup_analytics = true; + avatars = "initials"; + postgresql.host = "/run/postgresql"; + }; + }; +} -- cgit v1.3.1