diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/sils/gpg/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix index 2c166d0..cb976db 100644 --- a/users/sils/gpg/default.nix +++ b/users/sils/gpg/default.nix @@ -16,5 +16,7 @@ programs.zsh.initExtraFirst = lib.mkBefore '' current_tty="$(tty)" tty() { echo "$current_tty"; } + SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) + gpg-connect-agent /bye ''; } |