diff options
Diffstat (limited to 'machines/profpatsch')
-rw-r--r-- | machines/profpatsch/shiki.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index e47d3361..1ee8702d 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -465,6 +465,24 @@ in { }; }; + services.barrel-roll = { + description = "do a barrel roll"; + serviceConfig = { + Restart = "no"; + ExecStart = "${pkgs.writers.writeDash "barrel-roll" '' + ${pkgs.libnotify}/bin/notify-send --urgency=critical "Do a barrel roll!" + ''}"; + }; + }; + timers.barrel-roll = { + description = "do a barrel roll every hour"; + wantedBy = [ "timers.target" ]; + timerConfig = { + OnStartupSec="10m"; + OnUnitActiveSec ="1h"; + AccuracySec="15m"; + }; + }; } |