Skip to content

Mx puppet discord

services.mx-puppet-discord.enable

Whether to enable mx-puppet-discord is a discord puppeting bridge for matrix. It handles bridging private and group DMs, as well as Guilds (servers) . Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/matrix/mx-puppet-discord.nix

services.mx-puppet-discord.serviceDependencies

List of Systemd services to require and wait for when starting the application service.

Type: list of string

Default

optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/matrix/mx-puppet-discord.nix

services.mx-puppet-discord.settings

{file}config.yaml configuration as a Nix attribute set. Configuration options should match those described in sample.config.yaml.

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

`#!nix { bridge = { bindAddress = "localhost"; domain = "example.com"; homeserverUrl = "https://example.com"; };

provisioning.whitelist = [ "@admin:example.com" ]; relay.whitelist = [ "@.*:example.com" ]; } `

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/matrix/mx-puppet-discord.nix