feat(home-manager): configure gpg-agent

This commit is contained in:
Yorick Barbanneau 2025-04-09 19:40:30 +02:00
parent 031be01d70
commit 85dbefc18e

View file

@ -37,8 +37,13 @@ in
enable = true; enable = true;
enableScDaemon = true; enableScDaemon = true;
enableZshIntegration = true; enableZshIntegration = true;
pinentryPackage = pkgs.pinentry-gnome3; pinentry.package = pkgs.pinentry-gnome3;
enableSshSupport = cfg.enableSshSupport; enableSshSupport = cfg.enableSshSupport;
maxCacheTtl = 60 * 60 * 2;
maxCacheTtlSsh = 60 * 60 * 2;
defaultCacheTtl = 60 * 60;
defaultCacheTtlSsh = 60 * 60;
noAllowExternalCache = true;
}; };
home.sessionVariablesExtra = lib.mkIf cfg.enableSshSupport '' home.sessionVariablesExtra = lib.mkIf cfg.enableSshSupport ''