My host is NixOS and "/var/run/reboot-required" is not available to me.
I tried using the rebootSentinelCommand but logs always showed level=info msg="Sentinel checker is (unprivileged) testing for the presence of: /sentinel/reboot-required"
The only way to actually use rebootSentinelCommand was to add extraArgs