1
0
Fork 0
selfhostblocks/keycloak/mkunit.nix

28 lines
434 B
Nix

{ KeycloakService
}:
{ name
, configDir
, configFile
, user
, group
, postgresServiceName
, initialAdminUsername ? "admin"
, keys
, dependsOn ? {}
}:
{
inherit name configDir configFile;
inherit initialAdminUsername;
pkg = KeycloakService {
inherit configDir configFile;
inherit user group;
inherit keys initialAdminUsername;
inherit postgresServiceName;
};
inherit dependsOn;
type = "systemd-unit";
}