In hm module:
causes activate-agent rescheduled every 10 seconds.
$ launchctl print gui/501/org.nix-community.home.activate-agenix
gui/501/org.nix-community.home.activate-agenix = {
path = /Users/pluto/Library/LaunchAgents/org.nix-community.home.activate-agenix.plist
type = LaunchAgent
state = spawn scheduled
minimum runtime = 10
exit timeout = 5
runs = 640 #<<------------ two hours after system reboot
last exit code = 0
semaphores = {
successful exit => 0
after crash => 0
}
spawn type = background (5)
...
According to man launchd.plist
Crashed <boolean>
If true, the job will be restarted as long as it exited due to a signal which is typically associated with a crash (SIGILL, SIGSEGV, etc.). If false, the job will be restarted in the inverse condition.
In hm module:
agenix/modules/age-home.nix
Line 227 in f6291c5
causes
activate-agentrescheduled every 10 seconds.$ launchctl print gui/501/org.nix-community.home.activate-agenix gui/501/org.nix-community.home.activate-agenix = { path = /Users/pluto/Library/LaunchAgents/org.nix-community.home.activate-agenix.plist type = LaunchAgent state = spawn scheduled minimum runtime = 10 exit timeout = 5 runs = 640 #<<------------ two hours after system reboot last exit code = 0 semaphores = { successful exit => 0 after crash => 0 } spawn type = background (5) ...According to
man launchd.plist