53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{ ... }: {
|
|
services.matrix-appservice-irc = {
|
|
enable = true;
|
|
registrationUrl = "http://localhost:8009";
|
|
|
|
settings = {
|
|
homeserver.url = "https://matrix.federez.net";
|
|
homeserver.domain = "federez.net";
|
|
|
|
ircService.servers."irc.rezosup.org" = {
|
|
name = "RezoSup";
|
|
port = 6667;
|
|
# ssl = true;
|
|
# botConfig = {
|
|
# enabled = true;
|
|
# nick = "FederezMatrix";
|
|
# username = "federezmatrix";
|
|
# };
|
|
dynamicChannels = {
|
|
enabled = true;
|
|
createAlias = true;
|
|
# published = true;
|
|
aliasTemplate = "#irc_$CHANNEL";
|
|
};
|
|
|
|
matrixClients = {
|
|
userTemplate = "@irc_$NICK";
|
|
};
|
|
ircClients = {
|
|
nickTemplate = "$LOCALPART[m]";
|
|
allowNickChanges = true;
|
|
};
|
|
|
|
membershipLists = {
|
|
enabled = true;
|
|
global = {
|
|
ircToMatrix = {
|
|
initial = true;
|
|
incremental = true;
|
|
};
|
|
matrixToIrc = {
|
|
initial = true;
|
|
incremental = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
logging = {
|
|
level = "debug";
|
|
};
|
|
};
|
|
};
|
|
}
|