From f2ad9e980a68c7ce2f3ffd27d84ba9780a21a73c Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Wed, 19 Jul 2023 04:33:46 +0000 Subject: Add tmux, enable token reg on synapse --- host/Rory-synapse/software.nix | 5 +++-- modules/base.nix | 1 + 2 files changed, 4 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 = [ diff --git a/modules/base.nix b/modules/base.nix index ec1e6aa..b0e1d95 100755 --- a/modules/base.nix +++ b/modules/base.nix @@ -46,6 +46,7 @@ kitty.terminfo neovim # vimPlugins.vim-nix + tmux ]; systemd.coredump.extraConfig = lib.mkDefault '' -- cgit 1.4.1