liminix-fork/modules/watchdog/watchdog.nix

13 lines
250 B
Nix
Raw Normal View History

2023-09-02 18:28:40 +02:00
{
liminix
, lib
}:
{ watched, headStart } :
let
inherit (liminix.services) longrun;
in longrun {
name = "watchdog";
run =
"HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}";
}