os/hosts/pioneer-momo-koeln/keycloak.nix
teutat3s 31284b3289
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
fix: flake-parts self -> flake.self
2024-01-06 17:26:22 +01:00

26 lines
473 B
Nix

{
config,
lib,
inputs,
pkgs,
flake,
...
}: {
age.secrets.keycloak-database-password = {
file = "${flake.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";
};
};
}