nixpkgs/nixos/modules/services/matrix/mautrix-signal.md
Frédéric Christ aab2bd233c nixos/mautrix-signal: Adapt to new configuration
With mautrix-signal v0.7.0 the bridge is built upon the bridgev2
architecture. With this, the configuration file was slightly rearranged.
Options like login_shared_secret_map and double_puppet_server_map were
dropped.
2024-09-02 20:47:10 +02:00

1.5 KiB

Mautrix-Signal

Mautrix-Signal is a Matrix-Signal puppeting bridge.

Configuration

  1. Set to true. The service will use SQLite by default.
  2. To create your configuration check the default configuration for . To obtain the complete default configuration, run nix-shell -p mautrix-signal --run "mautrix-signal -c default.yaml -e".

::: {.warning} Mautrix-Signal allows for some options like encryption.pickle_key, provisioning.shared_secret, allow the value generate to be set. Since the configuration file is regenerated on every start of the service, the generated values would be discarded and might break your installation. Instead, set those values via . :::

Migrating from an older configuration

With Mautrix-Signal v0.7.0 the configuration has been rearranged. Mautrix-Signal performs an automatic configuration migration so your pre-0.7.0 configuration should just continue to work.

In case you want to update your NixOS configuration, compare the migrated configuration at /var/lib/mautrix-signal/config.yaml with the default configuration (nix-shell -p mautrix-signal --run "mautrix-signal -c example.yaml -e") and update your module configuration accordingly.