{ config, pkgs, ... }: { programs.gpg = { enable = true; homedir = "${config.xdg.dataHome}/gnupg"; }; services.gpg-agent = { enable = true; enableSshSupport = true; enableZshIntegration = true; pinentry = { package = pkgs.pinentry-gnome3; }; sshKeys = ["CD848796822630B280FC6DFA55F24A20040F22B5"]; }; }