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 = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -166,6 +168,7 @@
|
|||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
ServerAliveInterval 3600
|
ServerAliveInterval 3600
|
||||||
'';
|
AddKeysToAgent yes
|
||||||
|
'' + lib.optionalString pkgs.stdenv.isDarwin "UseKeychain yes";
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user