🔧 update matrix config
This commit is contained in:
parent
5366bf95eb
commit
d24585dab1
@ -16,34 +16,40 @@
|
|||||||
|
|
||||||
matrix-synapse = {
|
matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
server_name = "walkah.chat";
|
settings = {
|
||||||
public_baseurl = "https://matrix.walkah.chat";
|
server_name = "walkah.chat";
|
||||||
enable_metrics = true;
|
public_baseurl = "https://matrix.walkah.chat";
|
||||||
enable_registration = false;
|
enable_metrics = true;
|
||||||
database_type = "psycopg2";
|
enable_registration = false;
|
||||||
database_args = { database = "matrix"; };
|
database = {
|
||||||
listeners = [{
|
name = "psycopg2";
|
||||||
port = 8008;
|
args = { database = "matrix"; };
|
||||||
type = "http";
|
};
|
||||||
tls = false;
|
account_threepid_delegates = {
|
||||||
x_forwarded = true;
|
email = "https://vector.im";
|
||||||
resources = [{
|
msisdn = "https://vector.im";
|
||||||
compress = false;
|
};
|
||||||
names = [ "client" "federation" ];
|
listeners = [{
|
||||||
|
bind_addresses = [
|
||||||
|
"0.0.0.0"
|
||||||
|
];
|
||||||
|
port = 8008;
|
||||||
|
type = "http";
|
||||||
|
tls = false;
|
||||||
|
x_forwarded = true;
|
||||||
|
resources = [{
|
||||||
|
compress = false;
|
||||||
|
names = [ "client" "federation" ];
|
||||||
|
}];
|
||||||
}];
|
}];
|
||||||
}];
|
};
|
||||||
extraConfigFiles = [
|
extraConfigFiles = [
|
||||||
config.sops.secrets.matrix-registration-secret.path
|
config.sops.secrets.matrix-registration-secret.path
|
||||||
];
|
];
|
||||||
|
|
||||||
account_threepid_delegates = {
|
|
||||||
email = "https://vector.im";
|
|
||||||
msisdn = "https://vector.im";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets.matrix-registration-secret = {
|
sops.secrets.matrix-registration-secret = {
|
||||||
owner = "matrix-synapse";
|
owner = "matrix-synapse";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user