GPG Auth Sock
[emacs.git] / .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