1 2 3 4 5 6 7 8 9 10 11 12
{config, ...}: { programs.gpg = { enable = true; homedir = "${config.xdg.dataHome}/gnupg"; }; services.gpg-agent = { enable = true; pinentryFlavor = "gtk2"; enableSshSupport = true; sshKeys = ["&4077454831C98FE4BE4A9C167186C5A63615B790"]; }; }