2022-10-02 21:53:40 -04:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = lib.mkIf config.nathan.programs.util.gpg {
|
2022-10-13 22:13:43 -04:00
|
|
|
programs.gpg = { enable = true; };
|
2022-10-02 21:53:40 -04:00
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSshSupport = true;
|
|
|
|
enableExtraSocket = true;
|
2022-10-02 22:03:31 -04:00
|
|
|
pinentryFlavor = "qt";
|
2022-10-02 21:53:40 -04:00
|
|
|
extraConfig = ''
|
|
|
|
allow-emacs-pinentry
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|