matrix: re-enable IRC bridge
This commit is contained in:
parent
b7f2f4f5c4
commit
781a149542
|
@ -5,7 +5,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./discord-puppet.nix
|
./discord-puppet.nix
|
||||||
# ./irc.nix
|
./irc.nix
|
||||||
# TODO(2023/03/10): disabled because it's not bridging and mautrix_signal is hogging CPU
|
# TODO(2023/03/10): disabled because it's not bridging and mautrix_signal is hogging CPU
|
||||||
# ./signal.nix
|
# ./signal.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -35,6 +35,8 @@
|
||||||
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;
|
||||||
|
# this is the IRC username/nickname *of the bot* (not visible in channels): not of the end-user.
|
||||||
|
# the irc username/nick of a mapped Matrix user is determined further down in `ircClients` section.
|
||||||
# nick = "UninsaneDotOrg";
|
# nick = "UninsaneDotOrg";
|
||||||
nick = "uninsane";
|
nick = "uninsane";
|
||||||
username = "uninsane";
|
username = "uninsane";
|
||||||
|
@ -44,7 +46,7 @@
|
||||||
aliasTemplate = "#irc_rizon_$CHANNEL";
|
aliasTemplate = "#irc_rizon_$CHANNEL";
|
||||||
};
|
};
|
||||||
ircClients = {
|
ircClients = {
|
||||||
nickTemplate = "$LOCALPARTsane";
|
nickTemplate = "$LOCALPARTsane"; # @colin:uninsane.org (Matrix) -> colinsane (IRC)
|
||||||
# by default, Matrix will convert messages greater than (3) lines into a pastebin-like URL to send to IRC.
|
# by default, Matrix will convert messages greater than (3) lines into a pastebin-like URL to send to IRC.
|
||||||
lineLimit = 20;
|
lineLimit = 20;
|
||||||
};
|
};
|
||||||
|
@ -75,19 +77,12 @@
|
||||||
initial = true;
|
initial = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# hardcoded mappings, for when dynamicChannels fails us. TODO: probably safe to remove these.
|
|
||||||
# mappings = {
|
|
||||||
# "#chat" = {
|
|
||||||
# roomIds = [ "!GXJSOTdbtxRboGtDep:uninsane.org" ];
|
|
||||||
# };
|
|
||||||
# # BakaBT requires account registration, which i think means my user needs to be added before the appservice user
|
|
||||||
# "#BakaBT" = {
|
|
||||||
# roomIds = [ "!feZKttuYuHilqPFSkD:uninsane.org" ];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# for per-user IRC password:
|
# for per-user IRC password:
|
||||||
# invite @irc_rizon_NickServ:uninsane.org to a DM and type `help` => register
|
# - invite @irc_rizon_NickServ:uninsane.org to a DM and type `help` => register
|
||||||
# invite the matrix-appservice-irc user to a DM and type `!help` => add PW to database
|
# - invite the matrix-appservice-irc user to a DM and type `!help` => add PW to database
|
||||||
|
# to validate that i'm authenticated on the IRC network, DM @irc_rizon_NickServ:uninsane.org:
|
||||||
|
# - send: `STATUS colinsane`
|
||||||
|
# - response should be `3`: "user recognized as owner via password identification"
|
||||||
# passwordEncryptionKeyPath = "/path/to/privkey"; # appservice will generate its own if unspecified
|
# passwordEncryptionKeyPath = "/path/to/privkey"; # appservice will generate its own if unspecified
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user