From 01733304267d0840bccf34bd5a6a39c16448b0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Christ?= Date: Wed, 2 Aug 2023 21:24:29 +0200 Subject: [PATCH] mautrix-whatsapp: Add postgres options to example --- nixos/modules/services/matrix/mautrix-whatsapp.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/matrix/mautrix-whatsapp.nix b/nixos/modules/services/matrix/mautrix-whatsapp.nix index 1a959bc96e9d..366634d9fcc8 100644 --- a/nixos/modules/services/matrix/mautrix-whatsapp.nix +++ b/nixos/modules/services/matrix/mautrix-whatsapp.nix @@ -67,6 +67,10 @@ in { example = { settings = { homeserver.address = "https://matrix.myhomeserver.org"; + appservice.database = { + type = "postgres"; + uri = "postgresql:///mautrix_whatsapp?host=/run/postgresql"; + }; bridge.permissions = { "@admin:myhomeserver.org" = "admin"; };