18 lines
405 B
Nix
18 lines
405 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
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
|
|
git clone ssh://git@git.cluster.gay:2222/hans/nix.git
|
|
'';
|
|
buildInputs = with pkgs; [
|
|
gnupg
|
|
git
|
|
vim
|
|
pinentry-curses
|
|
ssh
|
|
];
|
|
}
|