You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
4.6 KiB
YAML
114 lines
4.6 KiB
YAML
homeserver:
|
|
url: "https://matrix.noemis.me"
|
|
domain: "noemis.me"
|
|
ircService:
|
|
servers:
|
|
irc.hackint.org:
|
|
name: "Hackint"
|
|
port: 6697
|
|
ssl: true
|
|
sslselfsign: false
|
|
botConfig:
|
|
enabled: false
|
|
nick: "n0emisBOT"
|
|
joinChannelsIfNoUsers: false
|
|
|
|
privateMessages:
|
|
enabled: true
|
|
federate: true
|
|
|
|
dynamicChannels:
|
|
enabled: true
|
|
createAlias: true
|
|
published: false
|
|
joinRule: invite
|
|
federate: true
|
|
aliasTemplate: "#irc_hackint_$CHANNEL"
|
|
whitelist:
|
|
- "@n0emis:noemis.me"
|
|
- "@leo:labcode.de"
|
|
membershipLists:
|
|
# Enable the syncing of membership lists between IRC and Matrix. This
|
|
# can have a significant effect on performance on startup as the lists are
|
|
# synced. This must be enabled for anything else in this section to take
|
|
# effect. Default: false.
|
|
enabled: true
|
|
|
|
# Syncing membership lists at startup can result in hundreds of members to
|
|
# process all at once. This timer drip feeds membership entries at the
|
|
# specified rate. Default: 10000. (10s)
|
|
floodDelayMs: 10000
|
|
global:
|
|
ircToMatrix:
|
|
# Get a snapshot of all real IRC users on a channel (via NAMES) and
|
|
# join their virtual matrix clients to the room.
|
|
initial: true
|
|
# Make virtual matrix clients join and leave rooms as their real IRC
|
|
# counterparts join/part channels. Default: false.
|
|
incremental: false
|
|
|
|
matrixToIrc:
|
|
# Get a snapshot of all real Matrix users in the room and join all of
|
|
# them to the mapped IRC channel on startup. Default: false.
|
|
initial: true
|
|
# Make virtual IRC clients join and leave channels as their real Matrix
|
|
# counterparts join/leave rooms. Make sure your 'maxClients' value is
|
|
# high enough! Default: false.
|
|
incremental: true
|
|
ircClients:
|
|
# The template to apply to every IRC client nick. This MUST have either
|
|
# $DISPLAY or $USERID or $LOCALPART somewhere in it.
|
|
# Optional. Default: "M-$DISPLAY". Example: "M-Alice".
|
|
nickTemplate: "$DISPLAY[m]"
|
|
# True to allow virtual IRC clients to change their nick on this server
|
|
# by issuing !nick <server> <nick> commands to the IRC AS bot.
|
|
# This is completely freeform: it will NOT follow the nickTemplate.
|
|
allowNickChanges: true
|
|
|
|
matrixClients:
|
|
# The user ID template to use when creating virtual matrix users. This
|
|
# MUST have $NICK somewhere in it.
|
|
# Optional. Default: "@$SERVER_$NICK".
|
|
# Example: "@irc.example.com_Alice:example.com"
|
|
userTemplate: "@irc_pm_hackint_$NICK"
|
|
# The display name to use for created matrix clients. This should have
|
|
# $NICK somewhere in it if it is specified. Can also use $SERVER to
|
|
# insert the IRC domain.
|
|
# Optional. Default: "$NICK (IRC)". Example: "Alice (IRC)"
|
|
displayName: "$NICK (IRC)"
|
|
# Number of tries a client can attempt to join a room before the request
|
|
# is discarded. You can also use -1 to never retry or 0 to never give up.
|
|
# Optional. Default: -1
|
|
joinAttempts: -1
|
|
# Set information about the bridged channel in the room state, so that client's may
|
|
# present relevant UI to the user. MSC2346
|
|
bridgeInfoState:
|
|
enabled: true
|
|
initial: true
|
|
# Configuration for logging. Optional. Default: console debug level logging
|
|
# only.
|
|
logging:
|
|
# Level to log on console/logfile. One of error|warn|info|debug
|
|
level: "warn"
|
|
# The file location to log to. This is relative to the project directory.
|
|
logfile: "{{ matrix_appservice_irc_log_path }}/debug.log"
|
|
# The file location to log errors to. This is relative to the project
|
|
# directory.
|
|
errfile: "{{ matrix_appservice_irc_log_path }}/errors.log"
|
|
# Whether to log to the console or not.
|
|
toConsole: true
|
|
# The max number of files to keep. Files will be overwritten eventually due
|
|
# to rotations.
|
|
maxFiles: 5
|
|
|
|
passwordEncryptionKeyPath: "{{ matrix_appservice_irc_database_path }}/passkey.pem"
|
|
|
|
# Use an external database to store bridge state.
|
|
database:
|
|
# database engine (must be 'postgres' or 'nedb'). Default: nedb
|
|
engine: "nedb"
|
|
# Either a PostgreSQL connection string, or a path to the NeDB storage directory.
|
|
# For postgres, it must start with postgres://
|
|
# For NeDB, it must start with nedb://. The path is relative to the project directory.
|
|
connectionString: "nedb://{{ matrix_appservice_irc_database_path }}"
|