From d96215af9e12b41c50307e0c220c3de5578c3f4b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 23 Dec 2020 22:12:03 +0530 Subject: Consumes pinentry package in gpg agent --- home.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 14497c8..11071b7 100644 --- a/home.nix +++ b/home.nix @@ -1,5 +1,7 @@ { pkgs, ... }: -{ +let + localPkgs = import ./packages/default.nix { pkgs = pkgs; }; +in { #home.packages = with pkgs; [ #picom #]; @@ -9,6 +11,10 @@ maxCacheTtl = 864000; defaultCacheTtl = 864000; enableSshSupport = false; + pinentryFlavor = null; + extraConfig = '' + pinentry-program ${localPkgs.anypinentry}/bin/anypinentry + ''; }; home.file = { -- cgit v1.3.1