From 899142ed2ccea346038f6b7d53754fff830f9293 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 1 Feb 2025 23:15:48 +0300 Subject: [PATCH] feat(ops/nevsky): run ZNC bouncer Same as whitby, with the difference that there is now a listener on the tailnet (just in case). Change-Id: I841b2283112a0fea54f3c35a2dc4d2dd393b2612 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13071 Reviewed-by: sterni Tested-by: BuildkiteCI --- ops/machines/nevsky/default.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/ops/machines/nevsky/default.nix b/ops/machines/nevsky/default.nix index 099f7e02b..e4a7a9a1e 100644 --- a/ops/machines/nevsky/default.nix +++ b/ops/machines/nevsky/default.nix @@ -273,6 +273,39 @@ in agentCount = 16; }; + # Start a ZNC instance which bounces for tvlbot and owothia. + services.znc = { + enable = true; + useLegacyConfig = false; + config = { + LoadModule = [ + "webadmin" + "adminlog" + ]; + + User.admin = { + Admin = true; + Pass.password = { + Method = "sha256"; + Hash = "bb00aa8239de484c2925b1c3f6a196fb7612633f001daa9b674f83abe7e1103f"; + Salt = "TiB0Ochb1CrtpMTl;2;j"; + }; + }; + + Listener.l = { + Host = "localhost"; + Port = 2627; # bncr + SSL = false; + }; + + Listener.tailscale = { + Host = "100.64.0.11"; + Port = 2627; # bncr + SSL = false; + }; + }; + }; + # Use TVL cache locally through the proxy; for cross-builder substitution. tvl.cache.enable = true; tvl.cache.builderball = true;