try to fix bridge
This commit is contained in:
parent
564d6b8209
commit
86091ce867
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
services.matrix-appservice-discord = {
|
services.matrix-appservice-discord = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
auth = {
|
auth = {
|
||||||
usePrivilegedIntents = true; # typing status and stuff
|
usePrivilegedIntents = true; # typing status and stuff
|
||||||
|
@ -22,6 +22,7 @@ in
|
||||||
disablePresence = true;
|
disablePresence = true;
|
||||||
disableTypingNotifications = true;
|
disableTypingNotifications = true;
|
||||||
};
|
};
|
||||||
|
inactiveAfterDays = 14;
|
||||||
# logging.console = "silly";
|
# logging.console = "silly";
|
||||||
};
|
};
|
||||||
serviceDependencies = [ "matrix-synapse.target" ];
|
serviceDependencies = [ "matrix-synapse.target" ];
|
||||||
|
@ -30,4 +31,6 @@ in
|
||||||
package = pkgs.matrix-appservice-discord;
|
package = pkgs.matrix-appservice-discord;
|
||||||
environmentFile = config.age.secrets.matrix_discord_bridge_token.path;
|
environmentFile = config.age.secrets.matrix_discord_bridge_token.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ matrix-appservice-discord ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue