AddKeysToAgent defaulting to yes. Added UseKeychain if on macos
This commit is contained in:
parent
2c66c51224
commit
3a28439153
@ -1,3 +1,5 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
@ -166,6 +168,7 @@
|
||||
extraConfig = ''
|
||||
IdentitiesOnly yes
|
||||
ServerAliveInterval 3600
|
||||
'';
|
||||
AddKeysToAgent yes
|
||||
'' + lib.optionalString pkgs.stdenv.isDarwin "UseKeychain yes";
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user