commit | 1144d0080793b957832cfbe3b4024e8f29443df6 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun May 21 00:17:29 2023 +0200 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun May 21 00:17:29 2023 +0200 |
tree | a8d2f0d42c1bb6dc36fc4fd2e42dcbad8b178dd1 | |
parent | 0e71dcd8f57eb5ea28483b626f959952c742b1c7 [diff] |
Automatically join general on matrix
diff --git a/modules/matrix.nix b/modules/matrix.nix index 967e9d9..b83e3f4 100644 --- a/modules/matrix.nix +++ b/modules/matrix.nix
@@ -4,8 +4,9 @@ enable = true; withJemalloc = true; - settings = { + settings = rec { server_name = "coded.codes"; + auto_join_rooms = [ "#general:${server_name}" ]; enable_registration = true; registration_requires_token = true; registration_shared_secret = "!!registration_shared_secret!!";