fix config

This commit is contained in:
Histausse 2023-04-20 00:22:24 +02:00
parent a1265d240b
commit ab8222b8aa

View file

@ -34,8 +34,8 @@ in
proxy = "edge"; # TODO: change to reencrypt or passthrough
hostname-strict-backchannel = true;
};
initialAdminPassword = cfg.initialAdminPassword;
database.passwordFile = cfg.dbPasswordFile;
services.keycloak.initialAdminPassword = cfg.initialAdminPassword;
services.keycloak.database.passwordFile = cfg.dbPasswordFile;
# Set the permittions for the db file
system.activationScripts = {
keycloakDbFilePermission.text =
@ -44,7 +44,7 @@ in
chown keycloak ${cfg.dbPasswordFile}
'';
};
database.createLocally = true;
services.keycloak.database.createLocally = true;
# TODO: enable client cert lookup: https://www.keycloak.org/server/reverseproxy#_enabling_client_certificate_lookup
# NGINX