about summary refs log tree commit diff
path: root/home/profiles/base/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/base/default.nix')
-rw-r--r--home/profiles/base/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 9c97d5f..5e5cbcb 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -81,6 +81,8 @@ in
       # Normal
       pkgs.bottom
       pkgs.fd
+      # Fix gpg not recognizing foot terminfo
+      pkgs.foot.terminfo
       pkgs.fzf
       pkgs.hydra-check
       pkgs.libnotify
@@ -115,6 +117,7 @@ in
       direnv.nix-direnv.enable = true;
       exa.enable = true;
       exa.enableAliases = true;
+      gpg.enable = true;
       home-manager.enable = true;
       htop.enable = true;
 
@@ -239,6 +242,15 @@ in
         settings = import ./config/dunst.nix { inherit neotheme; };
       };
 
+      gpg-agent = {
+        enable = true;
+        pinentryFlavor = "gtk2";
+        defaultCacheTtl = 3600;
+        defaultCacheTtlSsh = 3600;
+        maxCacheTtl = 86400;
+        maxCacheTtlSsh = 86400;
+      };
+
       swayidle = {
         enable = true;
         events = [