From b8d92a7840dd1bb377f83df9aae651624187ebf0 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 17 Jul 2017 18:43:05 +0200 Subject: 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. --- nixos/modules/programs/gnupg.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix index ea46d5934d9f..8af55f38992f 100644 --- a/nixos/modules/programs/gnupg.nix +++ b/nixos/modules/programs/gnupg.nix @@ -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) -- cgit 1.4.1