29 lines
477 B
Nix
29 lines
477 B
Nix
{ KeycloakCliService
|
|
}:
|
|
{ name
|
|
, configDir
|
|
, configFile
|
|
|
|
, keycloakServiceName
|
|
, keycloakSecretsDir
|
|
, keycloakAvailabilityTimeout ? "120s"
|
|
, keycloakUrl
|
|
, keycloakUser
|
|
|
|
, dependsOn ? {}
|
|
}:
|
|
|
|
{
|
|
inherit name configDir configFile;
|
|
pkg = KeycloakCliService {
|
|
inherit configDir configFile;
|
|
|
|
inherit keycloakServiceName;
|
|
inherit keycloakSecretsDir
|
|
keycloakAvailabilityTimeout
|
|
keycloakUrl keycloakUser;
|
|
};
|
|
|
|
inherit dependsOn;
|
|
type = "systemd-unit";
|
|
}
|