diff --git a/roles/home/ssh.nix b/roles/home/ssh.nix index a625ef3..66d1f72 100644 --- a/roles/home/ssh.nix +++ b/roles/home/ssh.nix @@ -1,3 +1,5 @@ +{ lib, pkgs, ... }: + { programs.ssh = { enable = true; @@ -166,6 +168,9 @@ extraConfig = '' IdentitiesOnly yes ServerAliveInterval 3600 + '' + lib.optionalString pkgs.stdenv.isDarwin '' + UseKeychain yes + TCPKeepAlive no ''; }; }