Close Matrix registration

This commit is contained in:
Jan Kremer 2026-03-26 14:36:53 +01:00
parent 852f7ad838
commit b5d6919c62
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
{ config, ... }: # { config, ... }:
{ {
age.secrets."matrix-registration-token" = { age.secrets."matrix-registration-token" = {
file = ../secrets/matrix-registration-token.age; file = ../secrets/matrix-registration-token.age;
@ -11,8 +11,8 @@
settings = { settings = {
global = { global = {
server_name = "jankremer.de"; server_name = "jankremer.de";
allow_registration = true; # allow_registration = true;
registration_token_file = config.age.secrets.matrix-registration-token.path; # registration_token_file = config.age.secrets.matrix-registration-token.path;
# trusted_servers = [ "matrix.org" ]; # trusted_servers = [ "matrix.org" ];
}; };
}; };