Fix gpg agent

This commit is contained in:
Pedro Rey Anca 2024-08-21 01:09:58 +02:00
parent 8ea13a7ec4
commit 7a657d84f1
3 changed files with 7 additions and 1 deletions

View file

@ -5,11 +5,17 @@
}: {
programs.dconf.enable = true;
programs.zsh.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
# pinentryFlavor = "";
};
environment.shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
'';
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [];
programs.adb.enable = true;