diff options
Diffstat (limited to 'microvms/auth/authentik.nix')
| -rw-r--r-- | microvms/auth/authentik.nix | 17 |
1 files changed, 17 insertions, 0 deletions
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"; + }; + }; +} |
