!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

157 Members
Coordination and discussion about the matrix subsystem in NixOS - https://wiki.nixos.org/wiki/Matrix77 Servers

Load older messages


SenderMessageTime
1 Feb 2026
@drangon02:matrix.org@drangon02:matrix.org joined the room.21:21:43
2 Feb 2026
@rajil:rajils.comtrumeeI was able to get matrix going. I think there was a message this mentioning their settup but i lost it since i had to restore the database.00:46:41
1 Feb 2026
@drangon02:matrix.org@drangon02:matrix.org left the room.21:23:31
2 Feb 2026
@rajil:rajils.comtrumee

Unfortunately, i couldnt get mautrix-whatsapp going. It dies with a message,

mautrix-whatsapp-pre-start[3797520]: Legacy bridge config detected, but hacky network config migrator is not set
mautrix-whatsapp.service: Control process exited, code=exited, status=1/FAILURE
00:47:32
1 Feb 2026
@teutat3s:pub.solarteutat3s
In reply to @rajil:rajils.com
Is there any example i can look at?
Our setup is pretty complex because we use synapse workers in combination with MAS
https://git.pub.solar/pub-solar/infra/src/branch/main/modules/matrix/default.nix
Nginx Proxy
https://git.pub.solar/pub-solar/infra/src/branch/main/modules/nginx-matrix/default.nix
23:48:21
2 Feb 2026
@hexa:lossy.networkhexafriendly reminder, that this module "is still being worked on" https://github.com/NixOS/nixpkgs/pull/387274#issuecomment-349193594500:01:30
@networkexception:nwex.denetworkException joined the room.01:13:19
@rajil:rajils.comtrumeeIs there any example for services.mautrix-whatsapp or services.mautrix-signal which i can use?01:16:33
@rajil:rajils.comtrumee

This is the config which did not work,

  services.mautrix-whatsapp = {
    enable = true; 

    settings = {
      homeserver = {
        address = "http://127.0.0.1:${toString matrixPort}";
        domain = serverName;
      };

      appservice = {
        address = "http://127.0.0.1:29318";
        hostname = "127.0.0.1";
        port = 29318;

        database = {
          type = "postgres";
          uri = "postgresql:///mautrix-whatsapp?host=/run/postgresql";
        };

        id = "whatsapp";
        bot = {
          username = "whatsappbot";
          displayname = "WhatsApp Bridge Bot";
        };
      };

      bridge = {
        username_template = "whatsapp_{{.}}";
        displayname_template = "{{or .BusinessName .PushName .JID}} (WA)";
        command_prefix = "!wa";

        # Portal settings
        private_chat_portal_meta = true;
        personal_filtering_spaces = true;

        # Status broadcast settings
        enable_status_broadcast = true;
        disable_status_broadcast_send = true;
        mute_status_broadcast = true;
        status_broadcast_tag = "m.lowpriority";

        permissions = {
          "*" = "relay";
          "${serverName}" = "user";
          "@user:${serverName}" = "admin";
        };

        relay.enabled = false;

        # History sync settings
        history_sync = {
          backfill = true;
          max_initial_conversations = 10;
          request_full_sync = false;
        };
      };

      # Matrix settings
      matrix = {
        federate_rooms = true;
      };
      # Encryption allowed but not default
      encryption = {
        allow = true;
        default = false;
        require = false;
      };

      logging = {
        min_level = "info";
        writers = [
          {
            type = "stdout";
            format = "pretty-colored";
          }
        ];
      };
    };

    environmentFile = config.sops.templates."mautrix-whatsapp.env".path;
  };

01:26:23
@rajil:rajils.comtrumee Something in this triggers, Legacy bridge config detected, but hacky network config migrator is not set 01:26:59
@samuel:mnzn.devSamuel Here's mine: Yes, see https://github.com/meenzen/nixos/tree/main/modules/matrix 11:40:22
@samuel:mnzn.devSamuel* Here's mine: https://github.com/meenzen/nixos/tree/main/modules/matrix11:40:29
@rajil:rajils.comtrumeeI am yet to see advantage of wrapping synapse in a module. It is already a module in nix.15:42:48
@rajil:rajils.comtrumeeThanks for sharing. In which file on your repo do you use this module.16:00:27
3 Feb 2026
@rajil:rajils.comtrumee left the room.03:17:05
@rajil:rajils.comtrumee joined the room.03:22:38
@rajil:rajils.comtrumee changed their display name from . to trumee.03:26:13
4 Feb 2026
@tiferrei:tiferrei.comtiferrei changed their profile picture.03:09:37
@tiferrei:tiferrei.comtiferrei left the room.14:28:36
6 Feb 2026
@emma:rory.gayEmma [it/its]

https://cgit.rory.gay/Rory-Open-Architecture.git/tree/host/Rory-nginx/services/matrix/synapse/workers

heres mine

12:35:57
9 Feb 2026
@afillatedcarbon:matrix.orgAfillatedcarbon set a profile picture.22:00:44
10 Feb 2026
@mon:tchncs.depneumatic changed their display name from ribosomerocker to pneumatic.10:28:26
12 Feb 2026
@me_and:matrix.orgAdam joined the room.23:20:40
14 Feb 2026
@hoplophfeil:matrix.orghoplopf joined the room.15:52:22
16 Feb 2026
@mon:tchncs.depneumatic changed their profile picture.15:17:46
18 Feb 2026
@tiferrei:tiferrei.comtiferrei joined the room.20:15:37
21 Feb 2026
@h7x4:nani.wtfh7x4 changed their profile picture.19:25:16
@h7x4:nani.wtfh7x4 changed their profile picture.19:30:09
@h7x4:nani.wtfh7x4 changed their profile picture.19:33:22
22 Feb 2026
@lunar45:matrix.orgLunar joined the room.15:02:14

There are no newer messages yet.


Back to Room ListRoom Version: 4