# One-shot read-only health check (System › Doctor / `nomarchy-doctor`).
# A package (not an inline script) so the VM check can exercise it on a
# minimal node without pulling in the whole distro module.
{ writeShellApplication, coreutils, gawk, git, gnugrep, jq, systemd }:

writeShellApplication {
  name = "nomarchy-doctor";
  runtimeInputs = [ coreutils gawk git gnugrep jq systemd ];
  text = builtins.readFile ./nomarchy-doctor.sh;
}
