hosts: move conduit to sakura

This commit is contained in:
notohh 2023-09-28 17:06:40 -04:00
parent 8fdde7e3e0
commit 0bd8e844b1
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 10 additions and 3 deletions

View file

@ -1,14 +1,19 @@
_: { {lib, ...}: {
networking.firewall.allowedTCPPorts = [6167 8448]; networking.firewall.allowedTCPPorts = [6167 8448];
services.matrix-conduit = { services.matrix-conduit = {
enable = true; enable = true;
settings = { settings = {
global = { global = {
address = "0.0.0.0"; address = "0.0.0.0";
server_name = "forsen"; server_name = "matrix.notohh.dev";
allow_registration = true; allow_registration = true;
allow_federation = true; allow_federation = false;
allow_encryption = true; allow_encryption = true;
log = "warn";
max_concurrent_requests = 100;
max_request_size = 20000000;
database_backend = "rocksdb";
enable_lightning_bolt = false;
trusted_servers = ["matrix.org"]; trusted_servers = ["matrix.org"];
}; };
}; };

View file

@ -10,5 +10,7 @@
./dashdot.nix ./dashdot.nix
./grafana.nix ./grafana.nix
./vaultwarden.nix ./vaultwarden.nix
./atticd.nix
./conduit.nix
]; ];
} }