From 80f1baecca758ff30917dcc28a5e7067cd549af2 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 23 Apr 2024 21:43:33 +0200 Subject: [PATCH] whatsapp fixes --- systems/hetzner/matrix.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systems/hetzner/matrix.nix b/systems/hetzner/matrix.nix index 17db2cc..9778b6b 100644 --- a/systems/hetzner/matrix.nix +++ b/systems/hetzner/matrix.nix @@ -61,6 +61,9 @@ in server_name = "missing.ninja"; registration_shared_secret = ""; public_baseurl = baseUrl; + app_service_config_files = [ + "/var/lib/mautrix-whatsapp/whatsapp-registration.yaml" + ]; listeners = [ { port = 8448; @@ -84,8 +87,8 @@ in settings = { appservice = { database = { - type = "postgres"; - uri = "postgresql:///mautrix_whatsapp?host=/run/postgresql"; + type = "sqlite3"; + uri = "/var/lib/mautrix-whatsapp/mautrix-whatsapp.db"; }; ephemeral_events = false; id = "whatsapp";