summaryrefslogtreecommitdiff
path: root/microvms/auth/authentik.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2026-07-26 08:45:30 +0000
committerGrisha Shipunov2026-07-26 08:45:30 +0000
commita38e90adf7d746cc9cb1c1e02a615e32556597fa (patch)
tree4752a20ffb4a2dab18e26952eaf4a84c9e0417e0 /microvms/auth/authentik.nix
parent7be7bf0700dd2ae6e9e9b9726ec94d211f4615d7 (diff)
move microvms to separate folder
Diffstat (limited to 'microvms/auth/authentik.nix')
-rw-r--r--microvms/auth/authentik.nix17
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";
+ };
+ };
+}