restructure common sshagent

cleanups of commented out things
move non desktop to server config
This commit is contained in:
2024-07-14 12:06:47 +02:00
parent 0a775adbdc
commit d5f3aa3885
8 changed files with 30 additions and 61 deletions

View File

@@ -27,10 +27,6 @@
'';
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"
# Spaceship
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
autoload -U promptinit; promptinit