stockholm/krebs/2configs/news.nix

40 lines
757 B
Nix
Raw Normal View History

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