{ pkgs, config, ... }: { programs.gpg = { enable = true; package = pkgs.gnupg; mutableKeys = false; mutableTrust = false; settings = { keyid-format = "LONG"; }; publicKeys = [ { trust = "ultimate"; text = '' -----BEGIN PGP PUBLIC KEY BLOCK----- mDMEY3FNLRYJKwYBBAHaRw8BAQdAzJpw9e+NCq+lNNxIooZqGdEq3eIySxi5iDaG WajRMYS0E1R5IDx0eUBibGFoYWoubGFuZD6IkwQTFgoAOwIbAQULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBKYpnCAlAiPc3rpeLJM7lDepela4BQJmy32yAAoJ EJM7lDepela4D5IA/jf1E/e1J3uc35VKc6AeJokbh4W/2r27ZFQv1H1oHBttAQCU FcMt0PGG//kiv6xKX0chxWAYoggmxeNGlcI548qBArQvVHlsZXIgQmVja21hbiAo ZWQyNTUxOSkgPHRiZWNrbWFuNTMwQGdtYWlsLmNvbT6IkAQTFggAOAIbAQULCQgH AgYVCgkICwIEFgIDAQIeAQIXgBYhBKYpnCAlAiPc3rpeLJM7lDepela4BQJkv+yV AAoJEJM7lDepela4FtABAJ80Vp0h7VatARFMO14WWow1zngUPJiBWvHmW7zflT1d AQDHh7N3Sj/Ij085NHbljB8oFhGUnFJv3PrP7RpA1oVTC7QgVHlsZXIgQmVja21h biA8dHlAbXlyaWF0aW9uLnh5ej6IzgQTFgoAdgIbAQULCQgHAgIiAgYVCgkICwIE FgIDAQIeBwIXgAIZARYhBKYpnCAlAiPc3rpeLJM7lDepela4BQJmy323NxSAAAAA ABAAHnByb29mQGFyaWFkbmUuaWRodHRwczovL215cmlhdGlvbi54eXova2V5b3hp ZGUACgkQkzuUN6l6VrhigwD+K+8YuIY6osUklUcvKbQMxOZbBIqjSa3MtavPTgXM K0EA/0QAN+/16mGdS0YPcq2AOISQNi4C3V1Lq9Xv+OePi0kEuDgEY3FPuxIKKwYB BAGXVQEFAQEHQJdRgJB1cY/faxDU76UfjRt91RhNMJ2+gmpgLjE+c3VXAwEIB4h4 BBgWCAAgFiEEpimcICUCI9zeul4skzuUN6l6VrgFAmNxT7sCGwwACgkQkzuUN6l6 VrhjUgEA5Jd1CjRsVnSDD6ujKqbER0fjhar8b2OHndzaJFjZcRAA/iIXZAQdZODL i67R7A5v97w8jN7a4wk45rscVbvNRfkLuDMEY3FPsBYJKwYBBAHaRw8BAQdAYwtz 4Tcw9VBhrM62l+J0/ny0UNLGWNRKjT5evoNGrxeI7wQYFggAIBYhBKYpnCAlAiPc 3rpeLJM7lDepela4BQJjcU+wAhsCAIEJEJM7lDepela4diAEGRYIAB0WIQTwjV6o sLRXn8aFdnQoE0QMdyVVpAUCY3FPsAAKCRAoE0QMdyVVpL43APsFQ/d9RJEuyQnG cy3f3Cjg5jb2XmERFHVB3D/90//yEgEAoPH4NEkVDc1m1zol34gcpMiUNvSTb/Rp sb5rpZ4HnARhtAEA825zCEk043kWRxrkPMRRa4QZwzBrPBJ9dFGi0WOr2Q8A/3vW pDJcqur4dGidvTzbLJXkm+vO5BJY9M6MuanT8iADuDMEY3FSeRYJKwYBBAHaRw8B AQdAf/an3gK28Vcj8Jcu50K7kpgV/wB96zWjcbtPXAsV4Y+IeAQYFggAIBYhBKYp nCAlAiPc3rpeLJM7lDepela4BQJjcVJ5AhsgAAoJEJM7lDepela46ocA/1NnMRDq vb0WHflAttm+HV4DJy+nXXEKrP52/7CqZ4X+AQDlf0iShUkvcj7ruMP9QSP+qmP2 15dYmwRFY3dXw5+ZCQ== =tMzS -----END PGP PUBLIC KEY BLOCK----- ''; } ]; }; services.gpg-agent = { enable = true; enableSshSupport = true; enableZshIntegration = true; pinentryPackage = if (config.meta.home-manager.desktop.enable) then pkgs.pinentry-qt else pkgs.pinentry-tty; sshKeys = [ "817A829FB1FB95441156F93C7F4FD04ACDDE5E48 0" ]; }; }