diff --git a/modules/matrix.nix b/modules/matrix.nix new file mode 100644 index 0000000..a68909b --- /dev/null +++ b/modules/matrix.nix @@ -0,0 +1,23 @@ +{ ... }: { + services.matrix-conduit = { + enable = true; + + settings = { + global = { + allow_registration = false; + allow_federation = true; + + database_backend = "rocksdb"; + + server_name = "matrix.fantomitechno.dev"; + trusted_servers = [ + "matrix.org" + "faimaison.net" + ]; + + address = "127.0.0.1"; + port = 6167; + }; + }; + }; +}