From 2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Sat, 15 Nov 2014 12:33:01 +0100 Subject: [PATCH] ssh-agent: use types.nullOr --- nixos/modules/programs/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix index 6b729572248..c9bfe2fe0f7 100644 --- a/nixos/modules/programs/ssh.nix +++ b/nixos/modules/programs/ssh.nix @@ -60,7 +60,7 @@ in }; agentTimeout = mkOption { - type = types.string; + type = types.nullOr types.string; default = "1h"; description = '' How long to keep the private keys in memory. Use null to keep them forever.