summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAristid Breitkreuz <aristidb@gmail.com>2014-11-15 12:33:01 +0100
committerAristid Breitkreuz <aristidb@gmail.com>2014-11-15 12:33:01 +0100
commit2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff (patch)
treeda7c9f6c0b93f5eb2f089363b042daa9d4c047bd /nixos
parentd57110fabc92116e8a47fc708580fe1a1d10d98e (diff)
downloadnixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.tar
nixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.tar.gz
nixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.tar.bz2
nixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.tar.lz
nixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.tar.xz
nixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.tar.zst
nixlib-2fd7e5f39d8fd18646bba2fa7fbf69baf21a86ff.zip
ssh-agent: use types.nullOr
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/ssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix
index 6b7295722485..c9bfe2fe0f70 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.