about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configs/shared/.config/nixpkgs/home.nix6
-rw-r--r--configs/shared/.gnupg/gpg-agent.conf2
2 files changed, 6 insertions, 2 deletions
diff --git a/configs/shared/.config/nixpkgs/home.nix b/configs/shared/.config/nixpkgs/home.nix
index f37454165e6d..d9b3cae931a8 100644
--- a/configs/shared/.config/nixpkgs/home.nix
+++ b/configs/shared/.config/nixpkgs/home.nix
@@ -81,4 +81,10 @@
   ##############################################################################
 
   services.lorri.enable = true;
+
+  services.gpg-agent = {
+    enable = true;
+    defaultCacheTtl = 7200;
+    maxCacheTtl = 7200;
+  };
 }
diff --git a/configs/shared/.gnupg/gpg-agent.conf b/configs/shared/.gnupg/gpg-agent.conf
deleted file mode 100644
index 7c731e9bb592..000000000000
--- a/configs/shared/.gnupg/gpg-agent.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-default-cache-ttl 7200
-max-cache-ttl 7200