diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-05T15·05+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-06T10·15+0000 |
commit | f2d9af274569734c08edee2fbd4895e8704429c3 (patch) | |
tree | 32f04a511ec912d58117aeb7c445c8fcf8d83fa7 | |
parent | 19742e7790d31e5c0c36fd0d08b07fb958009464 (diff) |
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.
-rw-r--r-- | configs/shared/.config/nixpkgs/home.nix | 6 | ||||
-rw-r--r-- | configs/shared/.gnupg/gpg-agent.conf | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/configs/shared/.config/nixpkgs/home.nix b/configs/shared/.config/nixpkgs/home.nix index f37454165e6d..d9b3cae931a8 100644 --- a/configs/shared/.config/nixpkgs/home.nix +++ b/configs/shared/.config/nixpkgs/home.nix @@ -81,4 +81,10 @@ ############################################################################## services.lorri.enable = true; + + services.gpg-agent = { + enable = true; + defaultCacheTtl = 7200; + maxCacheTtl = 7200; + }; } diff --git a/configs/shared/.gnupg/gpg-agent.conf b/configs/shared/.gnupg/gpg-agent.conf deleted file mode 100644 index 7c731e9bb592..000000000000 --- a/configs/shared/.gnupg/gpg-agent.conf +++ /dev/null @@ -1,2 +0,0 @@ -default-cache-ttl 7200 -max-cache-ttl 7200 |