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

17 lines
415 B
Nix

{outputs, ...}: {
services.matrix-appservice-discord = {
enable = true;
settings = {
auth = {
clientID = "${outputs.secrets.discordBotID}";
botToken = "${outputs.secrets.discordBotToken}";
usePrivilegedIntents = true;
};
bridge = {
domain = "${outputs.secrets.jimDomain}";
homeserverUrl = "https://matrix.${outputs.secrets.jimDomain}";
};
};
};
}