summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rwxr-xr-xhost/Rory-synapse/software.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/Rory-synapse/software.nix b/host/Rory-synapse/software.nix
index 4b6506c..d194092 100755
--- a/host/Rory-synapse/software.nix
+++ b/host/Rory-synapse/software.nix
@@ -82,10 +82,11 @@
     settings = {
       server_name = "rory.gay";
 
-      enable_registration = false;
+      enable_registration = true;
+      registration_requires_token = true;
       # Alicia - figure this out later...
       #registration_shared_secret = builtins.exec ["cat" "/dev/urandom" "|" "tr" "-dc" "a-zA-Z0-9" "|" "fold" "-w" "256" "|" "head" "-n" "1"];
-      registration_shared_secret_path = "/var/lib/matrix-synapse/registration_shared_secret.txt";
+      #registration_shared_secret_path = "/var/lib/matrix-synapse/registration_shared_secret.txt";
       
       # Alicia - types: https://github.com/NixOS/nixpkgs/blob/release-22.11/nixos/modules/services/matrix/synapse.nix#L410
       listeners = [