appservice-irc: the gods showed me the truth
Merci à @esum pour l'assistance bien utile. Signed-off-by: Ryan Lahfa <federez-infra@lahfa.xyz>
This commit is contained in:
parent
8acdce99df
commit
5d6bc4eb71
1 changed files with 51 additions and 43 deletions
|
@ -1,53 +1,61 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
services.matrix-appservice-irc = {
|
services.matrix-appservice-irc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
registrationUrl = "http://localhost:8009";
|
registrationUrl = "http://127.0.0.1:8009";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
homeserver.url = "https://matrix.federez.net";
|
homeserver.url = "https://matrix.federez.net";
|
||||||
homeserver.domain = "federez.net";
|
homeserver.domain = "federez.net";
|
||||||
|
|
||||||
ircService.servers."irc.rezosup.org" = {
|
ircService.servers."irc.rezosup.org" = {
|
||||||
name = "RezoSup";
|
name = "RezoSup";
|
||||||
port = 6667;
|
additionalAddresses = [ ];
|
||||||
# ssl = true;
|
onlyAdditionalAddresses = false;
|
||||||
# botConfig = {
|
port = 6697;
|
||||||
# enabled = true;
|
ssl = true;
|
||||||
# nick = "FederezMatrix";
|
sslselfsign = true;
|
||||||
# username = "federezmatrix";
|
modePowerMap = {
|
||||||
# };
|
o = 50;
|
||||||
dynamicChannels = {
|
v = 1;
|
||||||
enabled = true;
|
};
|
||||||
createAlias = true;
|
botConfig.enabled = false;
|
||||||
# published = true;
|
privateMessages.enabled = true;
|
||||||
aliasTemplate = "#irc_$CHANNEL";
|
dynamicChannels = {
|
||||||
};
|
enabled = true;
|
||||||
|
groupId = "+rezosup:rezosup.net";
|
||||||
matrixClients = {
|
aliasTemplate = "$CHANNEL";
|
||||||
userTemplate = "@irc_$NICK";
|
};
|
||||||
};
|
membershipLists = {
|
||||||
ircClients = {
|
enabled = true;
|
||||||
nickTemplate = "$LOCALPART[m]";
|
global = {
|
||||||
allowNickChanges = true;
|
ircToMatrix = {
|
||||||
};
|
initial = true;
|
||||||
|
incremental = true;
|
||||||
membershipLists = {
|
requireMatrixJoined = true;
|
||||||
enabled = true;
|
};
|
||||||
global = {
|
matrixToIrc = {
|
||||||
ircToMatrix = {
|
initial = true;
|
||||||
initial = true;
|
incremental = true;
|
||||||
incremental = true;
|
};
|
||||||
};
|
};
|
||||||
matrixToIrc = {
|
};
|
||||||
initial = true;
|
matrixClients = {
|
||||||
incremental = true;
|
userTemplate = "@irc_$NICK";
|
||||||
|
displayName = "$NICK";
|
||||||
|
};
|
||||||
|
ircClients = {
|
||||||
|
nickTemplate = "$DISPLAY";
|
||||||
|
allowNickChanges = true;
|
||||||
|
maxClients = 500;
|
||||||
|
lineLimit = 10;
|
||||||
|
kickOn = {
|
||||||
|
channelJoinFailure = true;
|
||||||
|
ircConnectionFailure = true;
|
||||||
|
userQuit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
logging = { level = "debug"; };
|
||||||
logging = {
|
|
||||||
level = "debug";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue