checks/keycloak: use custom keycloak package
This commit is contained in:
parent
cf320af23d
commit
4c62674c4b
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
keycloak = pkgs.callPackage ./keycloak-custom-jre.nix {
|
keycloak = pkgs.callPackage ./keycloak-custom-jre.nix {
|
||||||
jre = self'.packages.jre17_standard;
|
inherit (self'.packages) keycloak;
|
||||||
};
|
};
|
||||||
|
|
||||||
patroni = pkgs.callPackage ./patroni.nix {
|
patroni = pkgs.callPackage ./patroni.nix {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ nixosTest, keycloak, jre }:
|
{ nixosTest, keycloak }:
|
||||||
|
|
||||||
nixosTest {
|
nixosTest {
|
||||||
name = "keycloak";
|
name = "keycloak";
|
||||||
nodes.machine.services.keycloak = {
|
nodes.machine.services.keycloak = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = keycloak.override { inherit jre; };
|
package = keycloak;
|
||||||
database.passwordFile = builtins.toFile "keycloak-test-password" "kcnixostest1234";
|
database.passwordFile = builtins.toFile "keycloak-test-password" "kcnixostest1234";
|
||||||
settings = {
|
settings = {
|
||||||
proxy = "edge";
|
proxy = "edge";
|
||||||
|
|
Loading…
Reference in a new issue