Nixos-rebuild remote deployments non root pam

Yeah, then you need to configure your ssh client, that’s why I originally asked if this works without a password.

Just configure in your ~/.ssh/config:

Host <hostname>
  ForwardAgent yes