From 63c14e259d4c8fc3ff706ccd620d3f794426ff1d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Dec 2014 15:30:14 +0100 Subject: [PATCH] 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. --- nixos/modules/programs/ssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix index c9bfe2fe0f7..796740ea636 100644 --- a/nixos/modules/programs/ssh.nix +++ b/nixos/modules/programs/ssh.nix @@ -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. '';