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