nixos.mautrix-facebook: Fix appservice name

It appears that newer mautrix-facebook versions default to the appservice name `facebook`. This was breaking our registration and causing mautrix-facebook to fail to start. This changes the name back and makes the registration generated match whatever the setting in the app is.
This commit is contained in:
Kevin Cox 2023-05-26 12:39:37 -04:00
parent f91ee3065d
commit 5242aea64f
No known key found for this signature in database
GPG key ID: 9BB92CC1552E99AA

View file

@ -29,6 +29,7 @@ in {
}; };
appservice = rec { appservice = rec {
id = "facebook";
address = "http://${hostname}:${toString port}"; address = "http://${hostname}:${toString port}";
hostname = "localhost"; hostname = "localhost";
port = 29319; port = 29319;
@ -171,7 +172,7 @@ in {
services.mautrix-facebook = { services.mautrix-facebook = {
registrationData = { registrationData = {
id = "mautrix-facebook"; id = cfg.settings.appservice.id;
namespaces = { namespaces = {
users = [ users = [