From c7d899b8a10b9b357580e749a03e39ec4eb4f5b4 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 26 Sep 2023 01:09:46 -0700 Subject: darwin: fix pinentry --- darwin/home.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'darwin') diff --git a/darwin/home.nix b/darwin/home.nix index 0bc3dd6..bfd96cd 100644 --- a/darwin/home.nix +++ b/darwin/home.nix @@ -31,6 +31,14 @@ slack ]; + home.file = { + ".gnupg/gpg-agent.conf" = { + text = '' + pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac + ''; + }; + }; + programs.home-manager.enable = true; programs.zsh = { enable = true; -- cgit v1.2.3