NixOS-Config/system/server/matrix-discord.nix

17 lines
415 B
Nix
Raw Normal View History

{outputs, ...}: {
2024-08-27 05:14:19 -04:00
services.matrix-appservice-discord = {
enable = true;
settings = {
auth = {
clientID = "${outputs.secrets.discordBotID}";
botToken = "${outputs.secrets.discordBotToken}";
2024-08-27 05:14:19 -04:00
usePrivilegedIntents = true;
};
bridge = {
domain = "${outputs.secrets.jimDomain}";
homeserverUrl = "https://matrix.${outputs.secrets.jimDomain}";
2024-08-27 05:14:19 -04:00
};
};
};
}