!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

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

Load older messages


SenderMessageTime
6 Jan 2026
@eyduh:matrix.orgeyduh (she/they) changed their profile picture.18:25:22
11 Jan 2026
@ivank:matrix.orgivan joined the room.01:56:22
13 Jan 2026
@jopejoe1:matrix.orgjopejoe1 (4094@epvpn) changed their display name from jopejoe1 (4094@39c3) to jopejoe1 (4094@epvpn).08:24:54
25 Jan 2026
@nanashi0x74:tchncs.de@nanashi0x74:tchncs.de left the room.07:19:29
1 Feb 2026
@sigmasquadron:matrix.orgFernando Rodrigues changed their display name from SigmaSquadron to Fernando Rodrigues.10:42:46
@lveneris:kludgecs.comlveneris joined the room.17:53:46
@rajil:rajils.comtrumee joined the room.19:26:22
@rajil:rajils.comtrumeeDoes anybody has synapse working with Mas ?19:36:45
@me:indeednotjames.comemilyyes, a bunch of folks do. but no module has been merged into nixpkgs yet19:37:43
@rajil:rajils.comtrumeeOh great. I couldn't get it to work, https://www.reddit.com/r/NixOS/comments/1qsz9kb19:39:31
@rajil:rajils.comtrumeeIs there any example i can look at?19:41:28
@rajil:rajils.comtrumeeI want to migrate from my working docker to native nix.19:41:56
@rajil:rajils.comtrumeeDo i need oidc module in synapse?19:46:18
@dandellion:dodsorf.asDandellionif you're using mas, then I dint think so19:50:57
@dandellion:dodsorf.asDandellion* if you're using mas, then I don't think so19:51:04
@rajil:rajils.comtrumeeAnything looks wrong in my setup ?19:54:35
@rajil:rajils.comtrumee changed their display name from . to trumee.20:36:00
@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

Show newer messages


Back to Room ListRoom Version: 4