From bfa679f5a8e9beff6008ea0e9d5eabfa68018e20 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 28 Sep 2019 14:29:45 +0000 Subject: modules/gnupg: start agent on sway startup --- modules/workstation/gnupg/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/workstation') diff --git a/modules/workstation/gnupg/default.nix b/modules/workstation/gnupg/default.nix index ca59c18bed2c..932c387dad7e 100644 --- a/modules/workstation/gnupg/default.nix +++ b/modules/workstation/gnupg/default.nix @@ -17,4 +17,8 @@ export GNUPGHOME="$HOME/state/gnupg" export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" ''; + + programs.sway.extraConfig = '' + exec gpg-connect-agent /bye + ''; } -- cgit 1.4.1