aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2025-01-19 09:12:09 +1000
committersefidel <contact@sefidel.net>2025-01-19 09:12:36 +1000
commitf9272fc6ffce3b7c246e7e9b9dbcd975718e3c16 (patch)
treec334cc5527dbfeaf08709d54153c3542c9b81615 /home
parent5c00f3b19e9be1f002bd6d8cecea653c9815b7ae (diff)
downloadnixrc-f9272fc6ffce3b7c246e7e9b9dbcd975718e3c16.zip
feat(home/base): configure gpg-agent on darwin
Diffstat (limited to 'home')
-rw-r--r--home/profiles/base/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 0c69f82..4ed37d0 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -245,9 +245,9 @@ in
'';
services = {
- gpg-agent = lib.mkIf pkgs.stdenv.isLinux {
+ gpg-agent = {
enable = true;
- pinentryPackage = pkgs.pinentry-gnome3;
+ pinentryPackage = lib.mkIf pkgs.stdenv.isLinux pkgs.pinentry-gnome3;
defaultCacheTtl = 3600;
defaultCacheTtlSsh = 3600;
maxCacheTtl = 86400;