mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: #hsmr moinbot
This commit is contained in:
@@ -9,6 +9,7 @@ in
|
|||||||
./hedgedoc.nix
|
./hedgedoc.nix
|
||||||
./matterbridge.nix
|
./matterbridge.nix
|
||||||
./menstruation.nix
|
./menstruation.nix
|
||||||
|
./moinbot.nix
|
||||||
./monitoring
|
./monitoring
|
||||||
./moodle-dl-borsfaye.nix
|
./moodle-dl-borsfaye.nix
|
||||||
./names.nix
|
./names.nix
|
||||||
|
|||||||
17
systems/makanek/moinbot.nix
Normal file
17
systems/makanek/moinbot.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
systemd.services.moinbot = {
|
||||||
|
startAt = "7:00";
|
||||||
|
script = ''
|
||||||
|
echo moin | ${pkgs.ircaids}/bin/ircsink \
|
||||||
|
--nick moinbot \
|
||||||
|
--server irc.hackint.org \
|
||||||
|
--port 6697 \
|
||||||
|
--secure \
|
||||||
|
--target '#hsmr' >/dev/null 2>&1
|
||||||
|
'';
|
||||||
|
serviceConfig.DynamicUser = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.timers.moinbot.timerConfig.RandomizedDelaySec = "14h";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user