From f4b6109204e3eef59232ca7957e603b0ed30b331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 3 May 2022 20:47:51 +0100 Subject: [PATCH] fix the registration generation args --- modules/matrix/mautrix-whatsapp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/matrix/mautrix-whatsapp.nix b/modules/matrix/mautrix-whatsapp.nix index b3cb3d5a..e3e0d3ce 100644 --- a/modules/matrix/mautrix-whatsapp.nix +++ b/modules/matrix/mautrix-whatsapp.nix @@ -67,7 +67,7 @@ in umask $old_umask [ -f ${registrationFile} ] && rm -f ${registrationFile} - ${mautrix-whatsapp}/bin/mautrix-whatsapp --generate-registration --base-config ${mautrix-whatsapp.src}/example-config.yaml --config ${settingsFile} --registration ${registrationFile} + ${mautrix-whatsapp}/bin/mautrix-whatsapp --generate-registration --config ${settingsFile} --registration ${registrationFile} # Extract the tokens from the registration export AS_TOKEN=$(${pkgs.yq}/bin/yq -r '.as_token' ${registrationFile})