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:
parent
f91ee3065d
commit
5242aea64f
1 changed files with 2 additions and 1 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue