bumped ttl for ssh and gpg to max 2-8 hours

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-19 16:20:37 +02:00
parent 127227205d
commit cd6dd90ec7
Signed by: semere
GPG key ID: 7FC937214DF30488
2 changed files with 5 additions and 2 deletions

View file

@ -5,7 +5,7 @@ let
) (builtins.attrNames (builtins.readDir ./.));
allModules = builtins.listToAttrs (
builtins.map (entry: {
map (entry: {
name = lib.strings.removeSuffix ".nix" entry;
value = ./. + "/${entry}";
}) moduleDirectoryList

View file

@ -16,7 +16,10 @@
home-manager.users."${userVars.username}" = {
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
defaultCacheTtl = 7200;
defaultCacheTtlSsh = 7200;
maxCacheTtl = 28800;
maxCacheTtlSsh = 28800;
enableSshSupport = true;
pinentry.package = pkgs.pinentry-qt;
};