Skip to content

Commit b8d92a7

Browse files
committedJul 17, 2017
programs.gnupg: use extraInit instead of interactiveShellInit
Otherwise some programmes cannot use the GPG agent, e.g. applications started from dmenu. Behaviour was changed in #26888, this reverts that part.
1 parent b4ee24d commit b8d92a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/modules/programs/gnupg.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ in
7777

7878
systemd.packages = [ pkgs.gnupg ];
7979

80-
environment.interactiveShellInit = ''
80+
environment.extraInit = ''
8181
# Bind gpg-agent to this TTY if gpg commands are used.
8282
export GPG_TTY=$(tty)
8383

0 commit comments

Comments
 (0)
Please sign in to comment.