Attempt to fix pinentry on non-nixos

This commit is contained in:
Andrew R. M 2025-04-05 16:37:09 -04:00 committed by Andrew R. M.
parent 9027cd9bc6
commit 99b5fd8319
3 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,10 @@ apply_dotfile vim
apply_dotfile ruby apply_dotfile ruby
apply_dotfile python apply_dotfile python
# Only if inside a coder instance
if [ -n "${CODER}" ]; then
apply_dotfile gnupg
fi
# Check that SSH version is above 9.2 (where EnableEscapeCommandline was added) before conditionally adding # Check that SSH version is above 9.2 (where EnableEscapeCommandline was added) before conditionally adding
# a config file. This is then included in the main config # a config file. This is then included in the main config

View File

@ -0,0 +1 @@
pinentry-program /home/coder/.nix-profile/bin/pinentry-curses

View File

@ -27,6 +27,8 @@ nix_packages=(
"pass" "pass"
"gnupg" "gnupg"
"gnupg1"
"pinentry-curses"
# Professional tools # Professional tools
"skopeo" "skopeo"