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