Attempt to fix pinentry on non-nixos

This commit is contained in:
anmiller 2024-08-22 14:23:18 +00:00
parent bc63202425
commit bee634eb79
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"