diff --git a/cluster/services/irc/irc-host.nix b/cluster/services/irc/irc-host.nix index cb727ba..6c8b411 100644 --- a/cluster/services/irc/irc-host.nix +++ b/cluster/services/irc/irc-host.nix @@ -1,4 +1,4 @@ -{ cluster, config, pkgs, tools, ... }: +{ cluster, config, lib, pkgs, tools, ... }: let inherit (tools.meta) adminEmail; @@ -106,4 +106,16 @@ in { done ''; }; + + consul.services.ngircd = { + definition.service = { + name = "irc"; + address = linkSecure.ipv4; + port = linkSecure.port; + checks = lib.singleton { + interval = "60s"; + tcp = link.tuple; + }; + }; + }; }