diff --git a/modules/common/ssh.nix b/modules/common/ssh.nix index e658ba2..ca7fea4 100644 --- a/modules/common/ssh.nix +++ b/modules/common/ssh.nix @@ -2,5 +2,10 @@ # The OpenSSH agent programs.ssh = { startAgent = true; + extraConfig = '' + # Test if github.com works with ssh for cloning + Host github.com + IdentityFile ~/.ssh/github + ''; }; }