From f9272fc6ffce3b7c246e7e9b9dbcd975718e3c16 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 19 Jan 2025 09:12:09 +1000 Subject: feat(home/base): configure gpg-agent on darwin --- home/profiles/base/default.nix | 4 ++-- 1 file 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; -- cgit 1.4.1