mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds basic mautrix-whatsapp configuration
This commit is contained in:
parent
25835f76fd
commit
21e8d50714
1 changed files with 32 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue