os/hosts/pioneer-momo-koeln/keycloak.nix
Hendrik Sokolowski be19dd7477
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
rename host-001 to pioneer
2023-04-26 21:38:36 +02:00

26 lines
466 B
Nix

{
config,
lib,
inputs,
pkgs,
self,
...
}: {
age.secrets.keycloak-database-password = {
file = "${self}/secrets/keycloak-database-password.age";
mode = "700";
};
# keycloak
services.keycloak = {
enable = true;
database.passwordFile = config.age.secrets.keycloak-database-password.path;
settings = {
hostname = "auth.momo.koeln";
http-host = "127.0.0.1";
http-port = 8080;
proxy = "edge";
};
};
}