programs.ssh.startAgent
NixOS option
Whether to start the OpenSSH agent when you log in. The OpenSSH agent remembers private keys for you so that you don’t have to type in passphrases every time you make an SSH connection. Use ssh-add to add a key to the agent.
type: booleanDefault
declared in: nixos/modules/programs/ssh.nixView source on NixOS/nixpkgs →false