aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/nipsy/common/optional/secrets.nix10
-rw-r--r--hosts/common/core/default.nix6
2 files changed, 6 insertions, 10 deletions
diff --git a/home/nipsy/common/optional/secrets.nix b/home/nipsy/common/optional/secrets.nix
index 9a92ad0..e62c63f 100644
--- a/home/nipsy/common/optional/secrets.nix
+++ b/home/nipsy/common/optional/secrets.nix
@@ -7,14 +7,4 @@
]);
settings = { };
};
-
- services.gpg-agent = {
- defaultCacheTtl = 43200;
- defaultCacheTtlSsh = 43200;
- enable = true;
- enableExtraSocket = true;
- enableSshSupport = true;
- maxCacheTtl = 86400;
- maxCacheTtlSsh = 86400;
- };
}
diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix
index 1758a24..a198656 100644
--- a/hosts/common/core/default.nix
+++ b/hosts/common/core/default.nix
@@ -115,6 +115,12 @@
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
+ settings = {
+ default-cache-ttl = 43200;
+ default-cache-ttl-ssh = 43200;
+ max-cache-ttl = 86400;
+ max-cache-ttl-ssh = 86400;
+ };
};
programs.iftop.enable = true;
programs.mtr.enable = true;