Modules/SSH: Add keys to ssh-agent on nix-darwin
This commit is contained in:
@ -18,7 +18,10 @@ in {
|
|||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"*" = {
|
"*" = {
|
||||||
forwardAgent = false;
|
forwardAgent = false;
|
||||||
addKeysToAgent = "no";
|
addKeysToAgent =
|
||||||
|
if pkgs.stdenv.isLinux
|
||||||
|
then "no"
|
||||||
|
else "yes"; # Don't have keychain on darwin
|
||||||
compression = true;
|
compression = true;
|
||||||
serverAliveInterval = 0;
|
serverAliveInterval = 0;
|
||||||
serverAliveCountMax = 3;
|
serverAliveCountMax = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user