diff options
author | Vincent Ambo <mail@tazj.in> | 2021-05-20T23·09+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-05-21T11·30+0000 |
commit | 5036ae43760968aa7ad4decc5d314c7238dfcdbd (patch) | |
tree | 0bd219796902d26e80c150f0bbc1efef8d4b7f83 | |
parent | dbb011850a62ec4b49eeebc7d6cfb870badbf400 (diff) |
feat(whitby): Initial ZNC configuration r/2598
Bouncer to be used for TVL's IRC bots, see b/101 Change-Id: Ic9f71ecd94365d3baa31e0552b1ce16362f94557 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3124 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
-rw-r--r-- | ops/machines/whitby/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix index e558d10da9c1..5767be578737 100644 --- a/ops/machines/whitby/default.nix +++ b/ops/machines/whitby/default.nix @@ -216,6 +216,33 @@ in { }; }; + # 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; + }; + }; + }; + # Start the Gerrit->IRC bot services.depot.clbot = { enable = true; |