add authentik

This commit is contained in:
NyxErinys 2026-06-13 03:27:22 -05:00
parent 1b2b582c80
commit 59f75e7d71
5 changed files with 252 additions and 58 deletions

19
modules/k3s/secrets.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, ... }:
{
sops.templates = {
"authentik-secrets.yaml" = {
content = ''
apiVersion: v1
kind: Secret
metadata:
name: authentik-secrets
namespace: default
type: Opaque
stringData:
pg_pass: ${config.sops.placeholder."pg_pass"}
authentik_secret_key: ${config.sops.placeholder."authentik_secret_key"}
'';
path = "/var/lib/rancher/k3s/server/manifests/authentik-secrets.yaml";
}
};
}