summaryrefslogtreecommitdiff
path: root/linux.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-22 10:51:39 -0700
committerBen Sima <ben@bsima.me>2019-05-22 10:51:39 -0700
commit8e70df4f1e3e12359976d2e0de21a19c69434f39 (patch)
treecd048b9d39bd632cf14065f38fed7f90b18f580f /linux.nix
parent1d2cd5e4479377b00954003f9ff4c4c6b6cdf663 (diff)
gpg passthrough ssh
Diffstat (limited to 'linux.nix')
-rw-r--r--linux.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux.nix b/linux.nix
index 298f958..b3e62e0 100644
--- a/linux.nix
+++ b/linux.nix
@@ -188,10 +188,13 @@ in
enableScDaemon = true;
defaultCacheTtl = 72000;
maxCacheTtl = 7200;
- enableSshSupport = true;
+ enableSshSupport = false;
+ enableExtraSocket = true;
verbose = true;
extraConfig = ''
allow-emacs-pinentry
+ StreamLocalBindUnlink yes
+ RemoteForward /home/ben/.gnupg/S.gpg-agent /home/ben/.gnupg/S.gpg-agent.extra
'';
};
};