The agent's SSH socket was only exported via the zsh integration, so a GUI client launched outside a shell (rofi launcher, autostarted apps) couldn't use gpg-agent for SSH. Add a home.sessionVariables export resolving the socket with gpgconf --list-dirs agent-ssh-socket — the same lookup the shell integration uses, so the two can't drift — which reaches GUI apps via the login shell that starts Hyprland (the path NIXOS_OZONE_WL already takes). Eval-verified: the var resolves to the gpgconf substitution; the home config still builds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2.4 KiB
2.4 KiB