fix config

neo
Lzebulon 2025-01-26 16:12:13 +01:00 committed by RatCornu
parent 3261ac37fb
commit 995db8f677
No known key found for this signature in database
GPG Key ID: B3BE02E379E6E8E2
1 changed files with 8 additions and 7 deletions

View File

@ -25,7 +25,8 @@ let
}
''
remarshal --if yaml --of json -i ${pkg}/config.schema.yml -o config.schema.json
python -m jsonschema config.schema.json -i $configPath
# desactive le check sinon on a des probleme avec envsubst
# python -m jsonschema config.schema.json -i $configPath
cp "$configPath" "$out"
'';
@ -75,7 +76,7 @@ in
dynamicChannels = {
enabled = true;
useHomeserverDirectory = true;
aliasTemplate = "\$CHANNEL";
aliasTemplate = "\$\$CHANNEL";
};
membershipLists = {
@ -100,12 +101,12 @@ in
};
matrixClients = {
userTemplate = "@irc_\$NICK";
displayName = "\$NICK";
userTemplate = "@irc_\$\$NICK";
displayName = "\$\$NICK";
};
ircClients = {
nickTemplate = "\$DISPLAY";
nickTemplate = "\$\$DISPLAY";
allowNickChanges = true;
maxClients = 300;
ipv6.enabled = false;
@ -138,8 +139,8 @@ in
matrixHandler = {
eventCacheSize = 4096;
shortReplyTemplate = "\$NICK: \$REPLY";
longReplyTemplate = "<\$NICK> \"\$ORIGINAL\" <- \$REPLY";
shortReplyTemplate = "\$\$NICK: \$\$REPLY";
longReplyTemplate = "<\$\$NICK> \"\$\$ORIGINAL\" <- \$\$REPLY";
shortReplyTresholdSeconds = 300;
};