gpg: Update gpg-agent config

This commit is contained in:
Erwin Boskma 2024-03-16 22:38:43 +01:00
parent e35c4573e6
commit 8ef0734696
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -14,7 +14,7 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ pinentry-gnome ]; home.packages = with pkgs; [ pinentry-gnome3 ];
programs.gpg = { programs.gpg = {
enable = true; enable = true;
@ -22,7 +22,7 @@ in
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
pinentryFlavor = "gnome3"; pinentryPackage = pkgs.pinentry-gnome3;
# enableSshSupport = true; # enableSshSupport = true;
# defaultCacheTtlSsh = 14400; # defaultCacheTtlSsh = 14400;
# maxCacheTtlSsh = 14400; # maxCacheTtlSsh = 14400;