No description
Find a file
2025-12-05 21:33:54 +01:00
secrets persist signing key 2025-12-04 15:17:48 +01:00
services remove /health 2025-12-04 23:27:30 +01:00
.editorconfig foo 2025-12-02 19:36:46 +01:00
.gitignore baz 2025-12-02 20:07:30 +01:00
configuration.nix add tmux 2025-12-05 21:33:54 +01:00
flake.lock polish 2025-12-04 14:58:06 +01:00
flake.nix polish 2025-12-04 14:58:06 +01:00
README.md bar 2025-12-02 19:39:20 +01:00

Tarball

nix build .#nixosConfigurations.matrix.config.system.build.image

HTTP

Configure berlin.ccc.de web server to send federation traffic to the matrix server:

server {
  hostname berlin.ccc.de;
  location "/.well-known/matrix/server" {
    default_type application/json;
    return 200 '{"m.server":"matrix.berlin.ccc.de:443"}';
  }
}

DNS

_matrix-fed._tcp.matrix.berlin.ccc.de.  IN SRV  10 0 443 matrix.berlin.ccc.de.
#_matrix._tcp.matrix.berlin.ccc.de.     IN SRV  10 0 443 matrix.berlin.ccc.de.
#_matrix._tcp.berlin.ccc.de.            IN SRV  10 0 443 matrix.berlin.ccc.de.
_matrix-fed._tcp.berlin.ccc.de.         IN SRV  10 0 443 matrix.berlin.ccc.de.
matrix.berlin.ccc.de.                   IN A     <IPv4>
matrix.berlin.ccc.de.                   IN AAAA  <IPv6>

Bots

register_new_matrix_user \
    -c homeserver.yaml https://matrix.berlin.ccc.de \
    --user_domain berlin.ccc.de \
    --user <YOUR_BOT> \
    --password <YOUR_PASSWORD>

Draupnir

Remove rate limit for account:

curl -X DELETE https://matrix.berlin.ccc.de/_synapse/admin/v1/users/@admin:berlin.ccc.de/override_ratelimit

Set rate limit for account:

curl -X POST -d '{"messages_per_second":0,"burst_count":0}' https://matrix.berlin.ccc.de/_synapse/admin/v1/users/@admin:berlin.ccc.de/override_ratelimit