mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01: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