mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:26:51 +01:00
maybe whatsapp fix
This commit is contained in:
parent
3e2f5db717
commit
62a10aad63
1 changed files with 28 additions and 0 deletions
|
@ -81,5 +81,33 @@ in
|
||||||
|
|
||||||
services.mautrix-whatsapp = {
|
services.mautrix-whatsapp = {
|
||||||
enable = true;
|
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 = {
|
||||||
|
"missing.ninja" = "user";
|
||||||
|
};
|
||||||
|
private_chat_portal_meta = true;
|
||||||
|
provisioning = {
|
||||||
|
shared_secret = "disable";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue