diff --git a/modules/services/matrix-appservice-irc.nix b/modules/services/matrix-appservice-irc.nix index 1b7c924..2f6176b 100644 --- a/modules/services/matrix-appservice-irc.nix +++ b/modules/services/matrix-appservice-irc.nix @@ -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; };