Switch gpg-agent config to home-manager

This commit is contained in:
Pedro Rey Anca 2024-08-30 14:26:57 +02:00
parent eafa0892ae
commit e9fddc2e9c
3 changed files with 8 additions and 10 deletions

View file

@ -6,16 +6,6 @@
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;