mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
gpg: export GPG_TTY for fish (#1846)
This commit is contained in:
parent
e72e241d7a
commit
ddee030dc7
1 changed files with 3 additions and 0 deletions
|
@ -186,6 +186,9 @@ in
|
|||
|
||||
programs.bash.initExtra = gpgInitStr;
|
||||
programs.zsh.initExtra = gpgInitStr;
|
||||
programs.fish.interactiveShellInit = ''
|
||||
set -gx GPG_TTY (tty)
|
||||
'';
|
||||
}
|
||||
|
||||
(mkIf (cfg.sshKeys != null) {
|
||||
|
|
Loading…
Reference in a new issue