summaryrefslogtreecommitdiff
path: root/examples/mx-puppet.nix
blob: a0341e257a91cc67eb08a636a4bb1f769e292dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ config, lib, pkgs, ... }:

{
  services.matrix-appservices = {
    addRegistrationFiles = true;

    services = {
      discord = {
        port = 29180;
        format = "mx-puppet";
        package = pkgs.mx-puppet-discord;
        settings.bridge.enableGroupSync = true;
      };
      groupme = {
        port = 29181;
        format = "mx-puppet";
        package = pkgs.mx-puppet-groupme;
      };
      slack = {
        port = 29182;
        format = "mx-puppet";
        package = pkgs.mx-puppet-slack;
      };
    };
  };
}