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 = {
|
||||
enable = true;
|
||||
registrationUrl = "http://localhost:8009";
|
||||
services.matrix-appservice-irc = {
|
||||
enable = true;
|
||||
registrationUrl = "http://127.0.0.1:8009";
|
||||
|
||||
settings = {
|
||||
homeserver.url = "https://matrix.federez.net";
|
||||
homeserver.domain = "federez.net";
|
||||
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;
|
||||
ircService.servers."irc.rezosup.org" = {
|
||||
name = "RezoSup";
|
||||
additionalAddresses = [ ];
|
||||
onlyAdditionalAddresses = false;
|
||||
port = 6697;
|
||||
ssl = true;
|
||||
sslselfsign = true;
|
||||
modePowerMap = {
|
||||
o = 50;
|
||||
v = 1;
|
||||
};
|
||||
botConfig.enabled = false;
|
||||
privateMessages.enabled = true;
|
||||
dynamicChannels = {
|
||||
enabled = true;
|
||||
groupId = "+rezosup:rezosup.net";
|
||||
aliasTemplate = "$CHANNEL";
|
||||
};
|
||||
membershipLists = {
|
||||
enabled = true;
|
||||
global = {
|
||||
ircToMatrix = {
|
||||
initial = true;
|
||||
incremental = true;
|
||||
requireMatrixJoined = true;
|
||||
};
|
||||
matrixToIrc = {
|
||||
initial = true;
|
||||
incremental = true;
|
||||
};
|
||||
};
|
||||
matrixToIrc = {
|
||||
initial = true;
|
||||
incremental = true;
|
||||
};
|
||||
matrixClients = {
|
||||
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