1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(gpg): use for ssh, increase ttl

This commit is contained in:
2022-12-13 14:38:14 +01:00
parent 36ce5143b4
commit bc8a035451
2 changed files with 11 additions and 13 deletions

View File

@@ -186,7 +186,17 @@ in {
}
{programs.command-not-found.enable = true;}
{
programs.gnupg.agent.enable = true;
home-manager.users.me = {
services.gpg-agent = rec {
enable = true;
enableSshSupport = true;
enableZshIntegration = true;
defaultCacheTtl = 2 * 60 * 60;
defaultCacheTtlSsh = defaultCacheTtl;
maxCacheTtl = 4 * defaultCacheTtl;
maxCacheTtlSsh = maxCacheTtl;
};
};
environment.systemPackages = [
pkgs.gnupg