config.yaml configuration as a Nix attribute set. Configuration options should match those described in sample.config.yaml.
Declarations
Type
JSON value
Default
{
bridge = {
port = 8434;
};
database = {
filename = "/var/lib/mx-puppet-discord/database.db";
};
logging = {
console = "info";
lineDateFormat = "MMM-D HH:mm:ss.SSS";
};
namePatterns = {
group = ":name";
room = ":name";
user = ":name";
userOverride = ":displayname";
};
presence = {
enabled = true;
interval = 500;
};
provisioning = {
whitelist = [ ];
};
relay = {
whitelist = [ ];
};
}
Example
{
bridge = {
bindAddress = "localhost";
domain = "example.com";
homeserverUrl = "https://example.com";
};
provisioning.whitelist = [ "@admin:example.com" ];
relay.whitelist = [ "@.*:example.com" ];
}