diff --git a/home/config/nil/home.nix b/home/config/nil/home.nix index 5affa13..4894d04 100644 --- a/home/config/nil/home.nix +++ b/home/config/nil/home.nix @@ -249,9 +249,12 @@ in { PROMPT_INDICATOR: { "› " } - SSH_AUTH_SOCK: $"($env.XDG_RUNTIME_DIR)/ssh-agent" TMPDIR: $"($env.XDG_RUNTIME_DIR)/tmp" } + + if SSH_AUTH_SOCK not-in $env { + $env.SSH_AUTH_SOCK = $"($env.XDG_RUNTIME_DIR)/ssh-agent" + } ''; configFile.text = ''