fix zitadel

This commit is contained in:
Chris Kruining 2025-10-20 10:28:23 +02:00
parent 6111ec165b
commit f62fa502db
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
3 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,7 @@
try-again: try-again:
nix flake update amarth-customer-portal nix flake update amarth-customer-portal
nix flake check --all-systems --show-trace nix flake check --all-systems --show-trace
update machine:
nixos-rebuild switch --use-remote-sudo --target-host {{ machine }} --flake .#{{ machine }}

View file

@ -121,7 +121,7 @@ in
''; '';
}; };
extraConfig = '' extraConfig = ''
(auth-z) { (auth) {
forward_auth h2c://127.0.0.1:9092 { forward_auth h2c://127.0.0.1:9092 {
uri /api/authz/forward-auth uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name copy_headers Remote-User Remote-Groups Remote-Email Remote-Name

View file

@ -27,7 +27,7 @@
sneeuwvlok = { sneeuwvlok = {
services = { services = {
authentication.authelia.enable = true; # authentication.authelia.enable = true;
authentication.zitadel.enable = true; authentication.zitadel.enable = true;
communication.matrix.enable = true; communication.matrix.enable = true;