Add macOS specific SSH config
This commit is contained in:
parent
318bfda3b6
commit
548107f7af
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user