OpenSSH ssh-agent exits with status 2 when systemd stops it in non-socket-activated mode. Home Manager runs ssh-agent that way, so normal user-manager shutdowns show up as unit failures. Set SuccessExitStatus=2 for the Linux user service to match upstream behavior. Startup failures and other unexpected exits still fail the unit. |
||
|---|---|---|
| .. | ||
| darwin | ||
| linux | ||
| default.nix | ||