summaryrefslogtreecommitdiff
path: root/lib/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssh.nix')
-rw-r--r--lib/ssh.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssh.nix b/lib/ssh.nix
index 29cb677..41c531c 100644
--- a/lib/ssh.nix
+++ b/lib/ssh.nix
@@ -7,6 +7,9 @@ in {
controlMaster = "auto";
enable = true;
forwardAgent = true;
+ extraConfig = ''
+ RemoteForward %d/.gnupg/S.gpg-agent ''${HOME}/.gnupg/S.gpg-agent.extra
+ '';
matchBlocks = {
"github.com" = {
hostname = "github.com";