feat(selfhost/authentik): adding the authentik modules

This commit is contained in:
Raphael 2025-10-17 16:35:20 +02:00
parent c36d15318c
commit edbe524048
No known key found for this signature in database
7 changed files with 140 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{ config, pkgs, inputs, ... }:
{ inputs, ... }:
{
imports = [ inputs.agenix.nixosModules.default ];
@ -10,11 +11,30 @@
group = "root";
mode = "0400";
};
age.secrets."mailjet-pass" = {
file = ../../secrets/mailjet-pass.age;
owner = "root";
group = "root";
mode = "0400";
};
age.secrets."authentik-env" = {
file = ../../secrets/authentik-env.age;
owner = "root";
group = "root";
mode = "0400";
};
age.secrets."auth-grafana-id" = {
file = ../../secrets/auth-grafana-id.age;
owner = "root";
group = "grafana";
mode = "0440";
};
age.secrets."auth-grafana-secret" = {
file = ../../secrets/auth-grafana-secret.age;
owner = "root";
group = "grafana";
mode = "0440";
};
}