services.matrix-alertmanager.matrixRooms

Combination of Alertmanager receiver(s) and rooms for the bot to join. Each Alertmanager receiver can be mapped to post to a matrix room.

Note, you must use a room ID and not a room alias/name. Room IDs start with a "!".

Type
list of (submodule)
Example
[
  {
    receivers = [
      "receiver1"
      "receiver2"
    ];
    roomId = "!roomid@example.com";
  }
  {
    receivers = [
      "receiver3"
    ];
    roomId = "!differentroomid@example.com";
  }
]
Declared
<nixpkgs/nixos/modules/services/matrix/matrix-alertmanager.nix>