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
|
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"
|
cp "$configPath" "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -75,7 +76,7 @@ in
|
||||||
dynamicChannels = {
|
dynamicChannels = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
useHomeserverDirectory = true;
|
useHomeserverDirectory = true;
|
||||||
aliasTemplate = "\$CHANNEL";
|
aliasTemplate = "\$\$CHANNEL";
|
||||||
};
|
};
|
||||||
|
|
||||||
membershipLists = {
|
membershipLists = {
|
||||||
|
@ -100,12 +101,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
matrixClients = {
|
matrixClients = {
|
||||||
userTemplate = "@irc_\$NICK";
|
userTemplate = "@irc_\$\$NICK";
|
||||||
displayName = "\$NICK";
|
displayName = "\$\$NICK";
|
||||||
};
|
};
|
||||||
|
|
||||||
ircClients = {
|
ircClients = {
|
||||||
nickTemplate = "\$DISPLAY";
|
nickTemplate = "\$\$DISPLAY";
|
||||||
allowNickChanges = true;
|
allowNickChanges = true;
|
||||||
maxClients = 300;
|
maxClients = 300;
|
||||||
ipv6.enabled = false;
|
ipv6.enabled = false;
|
||||||
|
@ -138,8 +139,8 @@ in
|
||||||
|
|
||||||
matrixHandler = {
|
matrixHandler = {
|
||||||
eventCacheSize = 4096;
|
eventCacheSize = 4096;
|
||||||
shortReplyTemplate = "\$NICK: \$REPLY";
|
shortReplyTemplate = "\$\$NICK: \$\$REPLY";
|
||||||
longReplyTemplate = "<\$NICK> \"\$ORIGINAL\" <- \$REPLY";
|
longReplyTemplate = "<\$\$NICK> \"\$\$ORIGINAL\" <- \$\$REPLY";
|
||||||
shortReplyTresholdSeconds = 300;
|
shortReplyTresholdSeconds = 300;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue