git.iko.soy/typeable/nixpkgs
on master help sign in
ssh-agent: Don't have a timeout by default

IMHO, having a short timeout (1h) defeats the point of using ssh-agent, which is not to have to retype passphrases all the time. Of course, users who want timeouts can set programs.ssh.agentTimeout. This restores the 14.04 behaviour.

commit63c14e259d4c8fc3ff706ccd620d3f794426ff1d authorEelco Dolstra <eelco.dolstra@logicblox.com> dateThu 18 Dec 2014, 15:30 (12 years ago) parent231548d
1 file changed+2−1
nixos/modules/programs/ssh.nix+2−1
nixos/modules/programs/ssh.nix+2−1
@@ -61,7 +61,8 @@ in
6161
6262 agentTimeout = mkOption {
6363 type = types.nullOr types.string;
64− default = "1h";
64+ default = null;
65+ example = "1h";
6566 description = ''
6667 How long to keep the private keys in memory. Use null to keep them forever.
6768 '';