From 7da40913443bafd07bc1c5f679d931eeda33d052 Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 23 Sep 2023 20:53:45 -0400 Subject: [PATCH] yuki: init conduit --- hosts/yuki/services/conduit.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hosts/yuki/services/conduit.nix diff --git a/hosts/yuki/services/conduit.nix b/hosts/yuki/services/conduit.nix new file mode 100644 index 0000000..c302099 --- /dev/null +++ b/hosts/yuki/services/conduit.nix @@ -0,0 +1,16 @@ +_: { + networking.firewall.allowedTCPPorts = [6167 8448]; + services.matrix-conduit = { + enable = true; + settings = { + global = { + address = "0.0.0.0"; + server_name = "forsen"; + allow_registration = true; + allow_federation = true; + allow_encryption = true; + trusted_servers = ["matrix.org"]; + }; + }; + }; +}