stockholm/krebs/2configs/news.nix

40 lines
757 B
Nix
Raw Normal View History

2017-09-09 00:16:50 +02:00
{ pkgs, ... }:
2017-09-04 00:16:54 +02:00
2017-09-09 00:16:50 +02:00
{
2021-01-08 12:20:29 +01:00
services.rss-bridge = {
enable = true;
whitelist = [ "*" ];
};
2021-01-12 22:21:32 +01:00
services.nginx.virtualHosts = {
rss-bridge = {
serverAliases = [
"rss.r"
];
};
"brockman.r" = {
locations."/".extraConfig = ''
root /var/lib/brockman;
index brockman.json;
'';
};
2021-01-08 12:20:29 +01:00
};
2021-01-12 22:21:32 +01:00
systemd.tmpfiles.rules = [
"d /var/lib/brockman 1750 brockman nginx -"
];
2021-01-08 12:20:29 +01:00
2021-01-12 22:21:32 +01:00
systemd.services.brockman.environment.BROCKMAN_LOG_LEVEL = "DEBUG";
2020-12-30 11:46:12 +01:00
krebs.brockman = {
enable = true;
config = {
irc.host = "localhost";
2021-01-09 16:18:08 +01:00
channel = "#all";
2020-12-30 11:46:12 +01:00
shortener = "http://go.r";
2021-01-08 12:21:00 +01:00
controller = {
nick = "brockman";
channels = [ "#all" ];
2020-12-30 11:46:12 +01:00
};
2021-01-08 12:21:00 +01:00
bots = {};
2020-12-30 11:46:12 +01:00
};
2017-09-04 00:16:54 +02:00
};
}