From f7d3c26d124ce353125476c64cee69c779f041c9 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 21 Jun 2024 11:48:47 +0000 Subject: [PATCH] servo: irc: add wigle.net --- hosts/by-name/servo/services/matrix/irc.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/by-name/servo/services/matrix/irc.nix b/hosts/by-name/servo/services/matrix/irc.nix index d64abddb..900b789d 100644 --- a/hosts/by-name/servo/services/matrix/irc.nix +++ b/hosts/by-name/servo/services/matrix/irc.nix @@ -4,12 +4,11 @@ { config, lib, ... }: let - ircServer = { name, additionalAddresses ? [], sasl ? true, port ? 6697 }: let + ircServer = { name, additionalAddresses ? [], ssl ? true, sasl ? true, port ? if ssl then 6697 else 6667 }: let lowerName = lib.toLower name; in { # XXX sasl: appservice doesn't support NickServ identification (only SASL, or PASS if sasl = false) - inherit name additionalAddresses sasl port; - ssl = true; + inherit additionalAddresses name port sasl ssl; botConfig = { # bot has no presence in IRC channel; only real Matrix users enabled = false; @@ -156,6 +155,10 @@ in # - #sxmo-offtopic }; "irc.rizon.net" = ircServer { name = "Rizon"; }; + "wigle.net" = ircServer { + name = "WiGLE"; + ssl = false; + }; }; }; };