testing keycloak

This commit is contained in:
TheWanderingCrow 2025-10-14 15:36:27 -04:00
parent 147657de44
commit e8c332f5bc
3 changed files with 26 additions and 0 deletions

View file

@ -37,6 +37,7 @@ in {
pulseaudio pulseaudio
playerctl playerctl
brightnessctl brightnessctl
waypipe
]; ];
wayland.windowManager.sway = { wayland.windowManager.sway = {

View file

@ -53,6 +53,7 @@
"modules/services/ntfy-sh" "modules/services/ntfy-sh"
"modules/services/ollama/proxy.nix" # Just host the proxy path back to Parzival "modules/services/ollama/proxy.nix" # Just host the proxy path back to Parzival
"modules/services/netbox" "modules/services/netbox"
"modules/services/auth-provider"
"modules/services/matrix" "modules/services/matrix"
"modules/services/flamesites" "modules/services/flamesites"
]) ])

View file

@ -0,0 +1,24 @@
{pkgs, ...}: {
environment.etc."testing-keycloak-pass".text = "PWD";
services.caddy = {
enable = true;
virtualHosts."auth.wanderingcrow.net".extraConfig = ''
reverse_proxy http://localhost:5555
'';
};
services.keycloak = {
enable = true;
settings = {
hostname = "localhost";
http-port = 5555;
https-port = 9443;
http-enabled = true;
hostname-strict-https = false;
};
database = {
type = "postgresql";
createLocally = true;
passwordFile = "/etc/testing-keycloak-pass";
};
};
}