3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Eelco Dolstra 2014-12-18 15:30:14 +01:00
parent 231548db50
commit 63c14e259d

View file

@ -61,7 +61,8 @@ in
agentTimeout = mkOption {
type = types.nullOr types.string;
default = "1h";
default = null;
example = "1h";
description = ''
How long to keep the private keys in memory. Use null to keep them forever.
'';