hosts: desktop: make gpg keys work again

This commit is contained in:
2023-10-02 16:50:40 +02:00
parent 015f316640
commit 9d3d9d9a16
3 changed files with 8 additions and 8 deletions

View File

@@ -27,10 +27,10 @@
'';
initExtra = '' # Zsh theme
#export GPG_TTY=$(tty)
#gpg-connect-agent updatestartuptty /bye >/dev/null
#unset SSH_AGENT_PID
#export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
unset SSH_AGENT_PID
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
# Spaceship
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
autoload -U promptinit; promptinit