checks/keycloak: use custom keycloak package

This commit is contained in:
Max Headroom 2024-05-17 14:41:25 +02:00
parent cf320af23d
commit 4c62674c4b
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
};
keycloak = pkgs.callPackage ./keycloak-custom-jre.nix {
jre = self'.packages.jre17_standard;
inherit (self'.packages) keycloak;
};
patroni = pkgs.callPackage ./patroni.nix {

View file

@ -1,10 +1,10 @@
{ nixosTest, keycloak, jre }:
{ nixosTest, keycloak }:
nixosTest {
name = "keycloak";
nodes.machine.services.keycloak = {
enable = true;
package = keycloak.override { inherit jre; };
package = keycloak;
database.passwordFile = builtins.toFile "keycloak-test-password" "kcnixostest1234";
settings = {
proxy = "edge";