GPG Auth Sock
authorJoerg Jaspert <joerg@debian.org>
Thu, 21 Sep 2017 09:08:49 +0000 (11:08 +0200)
committerJoerg Jaspert <joerg@debian.org>
Thu, 21 Sep 2017 09:08:49 +0000 (11:08 +0200)
.config/systemd/user/emacs.service

index 491a17d..bc5bb01 100644 (file)
@@ -12,6 +12,7 @@ ExecStart=/usr/bin/emacs --daemon
 ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook nil) (save-buffers-kill-emacs))"
 Environment=TMPDIR=/run/user/1000/tmp
 Environment=DISPLAY=:%i
+Environment=SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
 Restart=on-failure
 TimeoutStartSec=0
 SuccessExitStatus=0 1 15