CCE

Pantalaimon

Free Software for Matrix.org to support encryption on clients which don't support it, through use of a "local" homeserver which will wrap and unwrap encrypted messages.

Its support in Arroyo Home Manager is quite simple as HM comes with support for it out of the box:

nix:tangle ~/nix/hm/pantalaimon.nix
{ lib, pkgs, ... }:
{
  services.pantalaimon.enable = false;
  services.pantalaimon.settings = {
    Default = {
      LogLevel = "Debug";
      SSL = true;
    };
    local-matrix = {
      Homeserver = "https://matrix.aelf.land";
      ListenAddress = "127.0.0.1";
      ListenPort = 8008;
    };
  };
}

NEXT write instructions on how to set up w/ ement.el, etc.