about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
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;