From 79067b9506ca229cf84911beb3f2aafa51f274b0 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 17 Feb 2022 22:43:25 -0500 Subject: [PATCH] FIX don't use pass on headless machines --- dot_pam_environment.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_pam_environment.tmpl b/dot_pam_environment.tmpl index 81ca4dc..6fa8ef0 100644 --- a/dot_pam_environment.tmpl +++ b/dot_pam_environment.tmpl @@ -62,7 +62,9 @@ ZDOTDIR DEFAULT=${XDG_CONFIG_HOME}/zsh # store passwords in gnupg directory (and then encrypt the entire thing with veracrypt) GNUPGHOME DEFAULT=${XDG_CONFIG_HOME}/gnupg +{{- if eq .chezmoi.hostname "petrucci4prez" }} PASSWORD_STORE_DIR DEFAULT=${GNUPGHOME}/pass +{{- end }} #--------------------# # Path