2022-10-16 06:57:21 +02:00
|
|
|
{ KeycloakCliService
|
|
|
|
}:
|
|
|
|
{ name
|
|
|
|
, configDir
|
|
|
|
, configFile
|
|
|
|
|
|
|
|
, keycloakServiceName
|
|
|
|
, keycloakSecretsDir
|
|
|
|
, keycloakAvailabilityTimeout ? "120s"
|
|
|
|
, keycloakUrl
|
|
|
|
, keycloakUser
|
2022-12-04 07:35:20 +01:00
|
|
|
, keys
|
2022-10-16 06:57:21 +02:00
|
|
|
|
|
|
|
, dependsOn ? {}
|
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
inherit name configDir configFile;
|
|
|
|
pkg = KeycloakCliService {
|
|
|
|
inherit configDir configFile;
|
|
|
|
|
|
|
|
inherit keycloakServiceName;
|
|
|
|
inherit keycloakSecretsDir
|
|
|
|
keycloakAvailabilityTimeout
|
2022-12-04 07:35:20 +01:00
|
|
|
keycloakUrl keycloakUser
|
|
|
|
keys;
|
2022-10-16 06:57:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit dependsOn;
|
|
|
|
type = "systemd-unit";
|
|
|
|
}
|