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

19 lines
417 B
Nix
Raw Normal View History

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