diff --git a/hosts/yuki/services/conduit.nix b/hosts/sakura/services/conduit.nix similarity index 52% rename from hosts/yuki/services/conduit.nix rename to hosts/sakura/services/conduit.nix index c302099..c6ef1bf 100644 --- a/hosts/yuki/services/conduit.nix +++ b/hosts/sakura/services/conduit.nix @@ -1,14 +1,19 @@ -_: { +{lib, ...}: { networking.firewall.allowedTCPPorts = [6167 8448]; services.matrix-conduit = { enable = true; settings = { global = { address = "0.0.0.0"; - server_name = "forsen"; + server_name = "matrix.notohh.dev"; allow_registration = true; - allow_federation = true; + allow_federation = false; allow_encryption = true; + log = "warn"; + max_concurrent_requests = 100; + max_request_size = 20000000; + database_backend = "rocksdb"; + enable_lightning_bolt = false; trusted_servers = ["matrix.org"]; }; }; diff --git a/hosts/sakura/services/default.nix b/hosts/sakura/services/default.nix index a5ca33f..a6020b4 100644 --- a/hosts/sakura/services/default.nix +++ b/hosts/sakura/services/default.nix @@ -10,5 +10,7 @@ ./dashdot.nix ./grafana.nix ./vaultwarden.nix + ./atticd.nix + ./conduit.nix ]; }