nix-config/modules/nixos/matrix.nix
2026-03-27 07:37:25 +01:00

20 lines
481 B
Nix

# { config, ... }:
{
age.secrets."matrix-registration-token" = {
file = ../secrets/matrix-registration-token.age;
mode = "400";
owner = "tuwunel";
};
services.matrix-tuwunel = {
enable = true;
settings = {
global = {
server_name = "jankremer.de";
# allow_registration = true;
# registration_token_file = config.age.secrets.matrix-registration-token.path;
# trusted_servers = [ "matrix.org" ];
};
};
};
}