diff --git a/custompkg/root/etc/skel/Library/profile.d/900.gpg-agent.sh b/custompkg/root/etc/skel/Library/profile.d/900.gpg-agent.sh index 5e3a8be..5d4fcbe 100644 --- a/custompkg/root/etc/skel/Library/profile.d/900.gpg-agent.sh +++ b/custompkg/root/etc/skel/Library/profile.d/900.gpg-agent.sh @@ -13,7 +13,7 @@ if [[ ! -e $HOME/.gpg-agent-info ]]; then gpg-agent \ --enable-ssh-support \ --daemon \ - --pinentry-program $(brew --prefix)/bin/pinentry-mac \ + --pinentry-program $HOME/.nix-profile/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac \ 2> /dev/null > $HOME/.gpg-agent-info fi fi