2024-06-16 10:10:36 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.gpg.enable = true;
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
defaultCacheTtl = 1800;
|
2024-07-14 09:32:29 +00:00
|
|
|
extraConfig = ''
|
|
|
|
pinentry-program ${pkgs.pinentry}/bin/pinentry-qt
|
|
|
|
allow-loopback-pinentry
|
|
|
|
'';
|
2024-06-16 10:10:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
pinentry
|
|
|
|
];
|
|
|
|
}
|