{ pkgs ? import { } }: pkgs.mkShell { shellHook = '' echo pinentry-program > $HOME/.gnupg/gpg-agent.conf $(which pinentry-curses) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) gpg-connect-agent reloadagent /bye ''; buildInputs = with pkgs; [ gnupg git vim pinentry-curses ]; }