19 lines
417 B
Nix
19 lines
417 B
Nix
|
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}";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|