feat: adds basic mautrix-whatsapp configuration

This commit is contained in:
Ahwx 2024-07-18 19:37:24 +02:00
parent 25835f76fd
commit 21e8d50714

View file

@ -134,5 +134,37 @@ in {
];
};
};
mautrix-whatsapp = {
enable = true;
settings = {
appservice = {
database = {
type = "postgres";
uri = "postgresql:///mautrix_whatsapp?host=/run/postgresql";
};
ephemeral_events = false;
id = "whatsapp";
};
bridge = {
encryption = {
allow = true;
default = true;
require = true;
};
history_sync = {
request_full_sync = true;
};
mute_bridging = true;
permissions = {
"example.com" = "user";
};
private_chat_portal_meta = true;
provisioning = {
shared_secret = "disable";
};
};
};
};
};
}