diff options
Diffstat (limited to 'home/profiles/base/default.nix')
-rw-r--r-- | home/profiles/base/default.nix | 4 |
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; |