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
This commit is contained in:
Colin 2023-04-17 01:57:27 +00:00
parent 39e7e2230e
commit bf67def14a

View File

@ -5,13 +5,13 @@
{ config, lib, ... }: { config, lib, ... }:
let let
ircServer = { name, additionalAddresses ? [] }: let ircServer = { name, additionalAddresses ? [], sasl ? true }: let
lowerName = lib.toLower name; lowerName = lib.toLower name;
in { 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; port = 6697;
ssl = true; ssl = true;
sasl = true; # appservice doesn't support NickServ identification (only SASL w/ fallback to PASS)
botConfig = { botConfig = {
# bot has no presence in IRC channel; only real Matrix users # bot has no presence in IRC channel; only real Matrix users
enabled = false; enabled = false;
@ -117,6 +117,7 @@ in
"irc.myanonamouse.net" = ircServer { "irc.myanonamouse.net" = ircServer {
name = "MyAnonamouse"; name = "MyAnonamouse";
additionalAddresses = [ "irc2.myanonamouse.net" ]; additionalAddresses = [ "irc2.myanonamouse.net" ];
sasl = false;
}; };
}; };
}; };