{pkgs, cfg, ... }: { programs.gnupg.agent = { enable = true; enableSSHSupport = true; enableBrowserSocket = true; pinentryFlavor = "emacs"; }; environment.systemPackages = with pkgs; [ gpg-tui gnupg ]; }