From 13cd25557cc12821871da30b8301d81f5941aab0 Mon Sep 17 00:00:00 2001 From: k3t Date: Sun, 26 Jul 2026 11:02:16 -0600 Subject: [PATCH] matrix homeserver --- hosts/nixcloud/configuration.nix | 1 + .../services.d/matrix.d/homeserver.nix | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 hosts/nixcloud/services.d/matrix.d/homeserver.nix diff --git a/hosts/nixcloud/configuration.nix b/hosts/nixcloud/configuration.nix index cda873f..7e71d64 100644 --- a/hosts/nixcloud/configuration.nix +++ b/hosts/nixcloud/configuration.nix @@ -7,6 +7,7 @@ { imports = (lib.filesystem.listFilesRecursive ./services.d) + ++ (lib.filesystem.listFilesRecursive ./services.d/matrix.d) ++ [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; diff --git a/hosts/nixcloud/services.d/matrix.d/homeserver.nix b/hosts/nixcloud/services.d/matrix.d/homeserver.nix new file mode 100644 index 0000000..8079efe --- /dev/null +++ b/hosts/nixcloud/services.d/matrix.d/homeserver.nix @@ -0,0 +1,20 @@ +{ + services.matrix-continuwuity = { + enable = true; + settings = { + admin = { + enable = true; + }; + global = { + address = [ "127.0.0.1" ]; + server_name = "k3t.dev"; + trusted_servers = [ + "matrix.org" + "constellatory.net" + "unredacted.org" + "tchncs.de" + ]; + }; + }; + }; +} \ No newline at end of file