Support gpg-agent with home-manager

A previous commit supported gpg.conf; this commit supports gpg-agent.conf. I
still have other files in my .gnupg directory that I should audit.
This commit is contained in:
William Carroll 2020-03-05 15:05:21 +00:00
parent 19742e7790
commit f2d9af2745
2 changed files with 6 additions and 2 deletions

View file

@ -81,4 +81,10 @@
############################################################################## ##############################################################################
services.lorri.enable = true; services.lorri.enable = true;
services.gpg-agent = {
enable = true;
defaultCacheTtl = 7200;
maxCacheTtl = 7200;
};
} }

View file

@ -1,2 +0,0 @@
default-cache-ttl 7200
max-cache-ttl 7200