Close Matrix registration
This commit is contained in:
parent
852f7ad838
commit
b5d6919c62
1 changed files with 3 additions and 3 deletions
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue