Skip to content

Commit

Permalink
programs.gnupg: use extraInit instead of interactiveShellInit
Browse files Browse the repository at this point in the history
Otherwise some programmes cannot use the GPG agent, e.g. applications
started from dmenu.

Behaviour was changed in #26888, this reverts that part.
  • Loading branch information
globin committed Jul 17, 2017
1 parent b4ee24d commit b8d92a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/programs/gnupg.nix
Expand Up @@ -77,7 +77,7 @@ in

systemd.packages = [ pkgs.gnupg ];

environment.interactiveShellInit = ''
environment.extraInit = ''
# Bind gpg-agent to this TTY if gpg commands are used.
export GPG_TTY=$(tty)
Expand Down

0 comments on commit b8d92a7

Please sign in to comment.