mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-05-30 12:59:23 +02:00
22 lines
502 B
Nix
22 lines
502 B
Nix
{ config, registry, ... }: {
|
|
TLMS.chemo = {
|
|
inherit (registry.grpc-data_accumulator-chemo) host port;
|
|
enable = true;
|
|
database = registry.postgres;
|
|
GRPC = [
|
|
{
|
|
inherit (registry.grpc-chemo-bureaucrat) host port;
|
|
name = "BUREAUCRAT";
|
|
}
|
|
{
|
|
inherit (registry.grpc-chemo-funnel) host port;
|
|
name = "FUNNEL";
|
|
}
|
|
];
|
|
};
|
|
systemd.services."chemo" = {
|
|
after = [ "postgresql.service" ];
|
|
wants = [ "postgresql.service" ];
|
|
};
|
|
}
|