33 lines
782 B
Nix
33 lines
782 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.noisebell-cache = {
|
|
enable = true;
|
|
port = 3005;
|
|
domain = "noisebell.extremist.software";
|
|
piAddress = "http://noisebell-pi";
|
|
outboundWebhooks = [
|
|
{
|
|
url = "http://127.0.0.1:3004/webhook";
|
|
secretFile = config.age.secrets.noisebell-discord-webhook-secret.path;
|
|
}
|
|
{
|
|
url = "http://noisebell-pi:8090/webhook";
|
|
secretFile = config.age.secrets.noisebell-relay-webhook-secret.path;
|
|
}
|
|
];
|
|
};
|
|
|
|
services.noisebell-discord = {
|
|
enable = true;
|
|
port = 3004;
|
|
domain = "discord.noisebell.extremist.software";
|
|
channelId = "1034916379486322718";
|
|
};
|
|
|
|
services.noisebell-rss = {
|
|
enable = true;
|
|
domain = "rss.noisebell.extremist.software";
|
|
port = 3012;
|
|
};
|
|
}
|