2024-08-25 15:02:35 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-08-11 10:13:36 +00:00
|
|
|
services.keycloak = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
cache = "local";
|
|
|
|
hostname = "id.ny4.dev";
|
|
|
|
http-host = "127.0.0.1";
|
|
|
|
http-port = 8800;
|
|
|
|
proxy = "edge";
|
|
|
|
# proxy-headers = "xforwarded"; # FIXME: Key material not provided to setup HTTPS.
|
|
|
|
};
|
|
|
|
database.passwordFile = toString (pkgs.writeText "password" "keycloak");
|
|
|
|
};
|
|
|
|
}
|