diff options
author | Robin Gloster <mail@glob.in> | 2017-07-17 18:43:05 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-07-17 18:45:37 +0200 |
commit | b8d92a7840dd1bb377f83df9aae651624187ebf0 (patch) | |
tree | 17075b332bc5d062a24548aac425236eb7c3d98f | |
parent | b4ee24d5b12c2bdd93dcf5c1e33e433ea4f41659 (diff) |
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.
-rw-r--r-- | nixos/modules/programs/gnupg.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix index ea46d5934d9fb..8af55f38992fd 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) |