45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ pkgs, ... }: {
|
|
systemd.services.brockman.environment."BROCKMAN_LOG_LEVEL" = "DEBUG";
|
|
|
|
services.rss-bridge = {
|
|
enable = true;
|
|
whitelist = [ "*" ];
|
|
virtualHost = "rss.makefu.r";
|
|
};
|
|
|
|
systemd.services.restart-brockman = {
|
|
after = [ "brockman.service" ];
|
|
wantedBy = [ "multi-user.target" ];
|
|
startAt = "daily";
|
|
script = "${pkgs.systemd}/bin/systemctl try-restart brockman.service";
|
|
};
|
|
|
|
krebs.brockman = {
|
|
enable = true;
|
|
config = {
|
|
channel = "#systemdultras";
|
|
irc = {
|
|
host = "irc.hackint.org";
|
|
port = 6697;
|
|
tls = true;
|
|
};
|
|
notifyErrors = false;
|
|
bots = {
|
|
r-systemdultras-rss = {
|
|
feed = "https://www.reddit.com/r/systemdultras/.rss";
|
|
delay = 136;
|
|
};
|
|
r-systemd-rss = {
|
|
feed = "https://www.reddit.com/r/systemd/.rss";
|
|
delay = 172;
|
|
};
|
|
r-pid_eins-twitter = {
|
|
feed = "http://rss.makefu.r/?action=display&bridge=Twitter&context=By+username&u=pid_eins&format=Atom";
|
|
delay = 621;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|