about summary refs log tree commit diff
path: root/hosts/home.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-26 22:56:36 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-26 22:56:36 +0200
commitae3616bfb6c9ed070c1405afaf4aba91ece8458c (patch)
treef1fe27bf8aa09808d036a46d3979a3e98f6a70a0 /hosts/home.nix
parentLuna: Set schedutil power mode (diff)
downloadnixos-config-ae3616bfb6c9ed070c1405afaf4aba91ece8458c.tar.gz
nixos-config-ae3616bfb6c9ed070c1405afaf4aba91ece8458c.tar.bz2
nixos-config-ae3616bfb6c9ed070c1405afaf4aba91ece8458c.zip
Add gpg-agent cache-ttl
Diffstat (limited to 'hosts/home.nix')
-rw-r--r--hosts/home.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index b63afb9..aae29e7 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -44,6 +44,10 @@ in
       enable = true;
       enableSshSupport = true;
       sshKeys = [ "BC10A40920B576F641480795B9C7E01A4E47DA9F" ];
+      defaultCacheTtl = 43200;#12h
+      defaultCacheTtlSsh = 43200;
+      maxCacheTtl = 86400;#24h
+      maxCacheTtlSsh = 86400;
     };
   };