about summary refs log tree commit diff
path: root/nixos/modules/services/matrix
diff options
context:
space:
mode:
authorFrédéric Christ <frederic.christ@secunet.com>2023-08-02 21:24:29 +0200
committerFrédéric Christ <frederic.christ@secunet.com>2023-08-02 21:32:55 +0200
commit01733304267d0840bccf34bd5a6a39c16448b0ed (patch)
tree2ca007bb3ad8a2329337377b98211757ae7e9648 /nixos/modules/services/matrix
parentb443a4d9406b83ea7819e9ea4d9dedb8a17821c5 (diff)
mautrix-whatsapp: Add postgres options to example
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r--nixos/modules/services/matrix/mautrix-whatsapp.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/matrix/mautrix-whatsapp.nix b/nixos/modules/services/matrix/mautrix-whatsapp.nix
index 1a959bc96e9d7..366634d9fcc8b 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";
           };