Remove broken Matrix bridges module
This commit is contained in:
@@ -34,11 +34,6 @@ in
|
||||
# HACK Inherit postgres connection string for the rest of the DBs
|
||||
app_service_api = {
|
||||
inherit database;
|
||||
config_files = [
|
||||
"/var/lib/matrix-as-facebook/facebook-registration.yaml"
|
||||
"/var/lib/matrix-as-signal/signal-registration.yaml"
|
||||
"/var/lib/matrix-as-telegram/telegram-registration.yaml"
|
||||
];
|
||||
};
|
||||
media_api = {
|
||||
inherit database;
|
||||
@@ -79,47 +74,6 @@ in
|
||||
/var/lib/matrix-as-telegram
|
||||
];
|
||||
|
||||
# Matrix bridges
|
||||
services.matrix-appservices = {
|
||||
homeserver = "dendrite";
|
||||
homeserverDomain = "coolneng.duckdns.org";
|
||||
homeserverURL = "https://matrix.coolneng.duckdns.org";
|
||||
services = {
|
||||
telegram = {
|
||||
port = 8118;
|
||||
format = "mautrix-python";
|
||||
package = mautrix-telegram;
|
||||
serviceConfig.EnvironmentFile = config.age.secrets.telegram.path;
|
||||
settings = {
|
||||
appservice.database = "$DB_STRING";
|
||||
homeserver.software = "standard";
|
||||
telegram = {
|
||||
api_id = "$API_ID";
|
||||
api_hash = "$API_HASH";
|
||||
};
|
||||
bridge = {
|
||||
permissions."@coolneng:coolneng.duckdns.org" = "admin";
|
||||
backfill.normal_groups = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
facebook = {
|
||||
port = 8228;
|
||||
format = "mautrix-python";
|
||||
package = mautrix-meta;
|
||||
serviceConfig.EnvironmentFile = config.age.secrets.facebook.path;
|
||||
settings = {
|
||||
appservice.database = "$DB_STRING";
|
||||
homeserver.software = "standard";
|
||||
bridge.permissions."@coolneng:coolneng.duckdns.org" = "admin";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Enable voice messages for facebook
|
||||
systemd.services.matrix-as-facebook.path = [ ffmpeg ];
|
||||
|
||||
# MQTT configuration
|
||||
services.mosquitto = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user