From 1a3b76719df942ed31c7b35461458292c282ce24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Sat, 27 Apr 2024 00:40:15 +0200 Subject: [PATCH] ttls --- hosts/common/services.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/common/services.nix b/hosts/common/services.nix index 230288b..0353a88 100644 --- a/hosts/common/services.nix +++ b/hosts/common/services.nix @@ -45,6 +45,12 @@ programs.gnupg.agent = { enable = true; enableSSHSupport = true; + settings = { + max-cache-ttl = 60480000; + default-cache-ttl = 60480000; + default-cache-ttl-ssh = 60480000; + max-cache-ttl-ssl = 60480000; + }; }; # This setups a SSH server. Very important if you're setting up a headless system.