1{pkgs, ...}: { 2 environment.systemPackages = with pkgs; [gnupg pinentry]; 3 4 programs.gnupg.agent.enable = true; 5 # ideally this should be set automatically but in case that doesn't work 6 #programs.gnupg.agent.pinentryFlavor = "curses"; # we don't have a gui. 7}