mirror of https://gitlab.crans.org/nounous/nixos
fix config
parent
3261ac37fb
commit
995db8f677
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue