1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 01:48:31 +02:00

gpg: export GPG_TTY for fish (#1846)

This commit is contained in:
Nicolas Berbiche 2021-03-03 15:59:13 -05:00 committed by GitHub
parent e72e241d7a
commit ddee030dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,6 +186,9 @@ in
programs.bash.initExtra = gpgInitStr; programs.bash.initExtra = gpgInitStr;
programs.zsh.initExtra = gpgInitStr; programs.zsh.initExtra = gpgInitStr;
programs.fish.interactiveShellInit = ''
set -gx GPG_TTY (tty)
'';
} }
(mkIf (cfg.sshKeys != null) { (mkIf (cfg.sshKeys != null) {