fix gpg with fish :3
This commit is contained in:
parent
f78a249d2a
commit
d4ad1784e1
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,13 @@
|
||||||
{ pkgs, config, lib, ... }: {
|
{ ... }: {
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
interactiveShellInit = ''
|
||||||
|
export GPG_TTY="$(tty)"
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
gpg-connect-agent updatestartuptty /bye > /dev/null
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
|
Loading…
Reference in a new issue