services.matrix-appservice-discord.settings
config.yaml configuration as a Nix attribute set.
Configuration options should match those described in config.sample.yaml.
config.bridge.domain and config.bridge.homeserverUrl
should be set to match the public host name of the Matrix homeserver for webhooks and avatars to work.
Secret tokens should be specified using environmentFile
instead of this world-readable attribute set.
- Type
attribute set- Default
{ auth = { botToken = ""; clientID = ""; }; database = { filename = "/var/lib/matrix-appservice-discord/discord.db"; }; }- Example
{ bridge = { domain = "public-domain.tld"; homeserverUrl = "http://public-domain.tld:8008"; }; }- Declared
- <nixpkgs/nixos/modules/services/matrix/appservice-discord.nix>