feat: bridge #dgnum over Merle
This commit is contained in:
parent
893339ba0b
commit
124ec3ab73
3 changed files with 19 additions and 4 deletions
|
@ -28,7 +28,7 @@ let
|
||||||
startScript = pkgs.writeShellScriptBin "start" ''
|
startScript = pkgs.writeShellScriptBin "start" ''
|
||||||
${manageSecrets
|
${manageSecrets
|
||||||
./matterbridge.toml "$CREDENTIALS_DIRECTORY/secrets" "$RUNTIME_DIRECTORY/conf.toml"
|
./matterbridge.toml "$CREDENTIALS_DIRECTORY/secrets" "$RUNTIME_DIRECTORY/conf.toml"
|
||||||
[ "SECRET_MATTERMOST_WEBHOOK" ]}/bin/preStart
|
[ "SECRET_MATTERMOST_KLUBRZ_WEBHOOK" "SECRET_MATTERMOST_DGNUM_WEBHOOK" ]}/bin/preStart
|
||||||
${pkgs.matterbridge}/bin/matterbridge -conf $RUNTIME_DIRECTORY/conf.toml
|
${pkgs.matterbridge}/bin/matterbridge -conf $RUNTIME_DIRECTORY/conf.toml
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -7,11 +7,16 @@
|
||||||
PrefixMessagesWithNick=true
|
PrefixMessagesWithNick=true
|
||||||
RemoteNickFormat="<{NICK}> "
|
RemoteNickFormat="<{NICK}> "
|
||||||
[mattermost]
|
[mattermost]
|
||||||
[mattermost.merle]
|
[mattermost.merle_klubrz]
|
||||||
WebhookURL="SECRET_MATTERMOST_WEBHOOK"
|
WebhookURL="SECRET_MATTERMOST_KLUBRZ_WEBHOOK"
|
||||||
WebhookBindAddress="0.0.0.0:52187"
|
WebhookBindAddress="0.0.0.0:52187"
|
||||||
PrefixMessagesWithNick=false
|
PrefixMessagesWithNick=false
|
||||||
RemoteNickFormat="{NICK}"
|
RemoteNickFormat="{NICK}"
|
||||||
|
[mattermost.merle_klubrz]
|
||||||
|
WebhookURL="SECRET_MATTERMOST_DGNUM_WEBHOOK"
|
||||||
|
WebhookBindAddress="0.0.0.0:52188"
|
||||||
|
PrefixMessagesWithNick=false
|
||||||
|
RemoteNickFormat="{NICK}"
|
||||||
[[gateway]]
|
[[gateway]]
|
||||||
name="réseau"
|
name="réseau"
|
||||||
enable=true
|
enable=true
|
||||||
|
@ -19,5 +24,15 @@ enable=true
|
||||||
account="irc.ulminfo"
|
account="irc.ulminfo"
|
||||||
channel="#réseau"
|
channel="#réseau"
|
||||||
[[gateway.inout]]
|
[[gateway.inout]]
|
||||||
account="mattermost.merle"
|
account="mattermost.merle_klubrz"
|
||||||
|
channel="town-square"
|
||||||
|
|
||||||
|
[[gateway]]
|
||||||
|
name="dgnum"
|
||||||
|
enable=true
|
||||||
|
[[gateway.inout]]
|
||||||
|
account="irc.ulminfo"
|
||||||
|
channel="#dgnum"
|
||||||
|
[[gateway.inout]]
|
||||||
|
channel="mattermost.merle_dgnum"
|
||||||
channel="town-square"
|
channel="town-square"
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue