summaryrefslogtreecommitdiff
path: root/hosts/conduwuit/conduwuit.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/conduwuit/conduwuit.nix')
-rw-r--r--hosts/conduwuit/conduwuit.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/hosts/conduwuit/conduwuit.nix b/hosts/conduwuit/conduwuit.nix
new file mode 100644
index 0000000..6baafa6
--- /dev/null
+++ b/hosts/conduwuit/conduwuit.nix
@@ -0,0 +1,24 @@
+{ pkgs, ... }:
+{
+ services.matrix-conduit = {
+ enable = true;
+ package = pkgs.conduwuit;
+ settings = {
+ global = {
+ database_backend = "rocksdb";
+ new_user_displayname_suffix = "";
+ port = 6167;
+ server_name = "oxapentane.com";
+ address = "0.0.0.0";
+ trusted_servers = [
+ "matrix.org"
+ "matrix.c3d2.de"
+ ];
+ well_known = {
+ client = "https://oxapentane.com";
+ server = "oxapentane.com:443";
+ };
+ };
+ };
+ };
+}