From bf67def14ab0be75f3c287bef4fcbdd135dfdb53 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 17 Apr 2023 01:57:27 +0000 Subject: [PATCH] matrix/irc.nix: MyAnonamouse: disable SASL auth it's unclear if SASL auth *might* actually work -- just with some weird delays -- but non-SASL auth *definitely* works --- hosts/by-name/servo/services/matrix/irc.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/by-name/servo/services/matrix/irc.nix b/hosts/by-name/servo/services/matrix/irc.nix index e252ec3c..797061ef 100644 --- a/hosts/by-name/servo/services/matrix/irc.nix +++ b/hosts/by-name/servo/services/matrix/irc.nix @@ -5,13 +5,13 @@ { config, lib, ... }: let - ircServer = { name, additionalAddresses ? [] }: let + ircServer = { name, additionalAddresses ? [], sasl ? true }: let lowerName = lib.toLower name; in { - inherit name additionalAddresses; + # XXX sasl: appservice doesn't support NickServ identification (only SASL, or PASS if sasl = false) + inherit name additionalAddresses sasl; port = 6697; ssl = true; - sasl = true; # appservice doesn't support NickServ identification (only SASL w/ fallback to PASS) botConfig = { # bot has no presence in IRC channel; only real Matrix users enabled = false; @@ -117,6 +117,7 @@ in "irc.myanonamouse.net" = ircServer { name = "MyAnonamouse"; additionalAddresses = [ "irc2.myanonamouse.net" ]; + sasl = false; }; }; };