From b0ab9e076b30f48489457e09b4181dde3458da48 Mon Sep 17 00:00:00 2001 From: Suyashtnt Date: Wed, 22 May 2024 11:45:42 +0200 Subject: [PATCH] fix: hotfix for gnome ssh daemon --- users/modules/nushell/config/config.nu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/modules/nushell/config/config.nu b/users/modules/nushell/config/config.nu index b22edeb..7ab86a2 100644 --- a/users/modules/nushell/config/config.nu +++ b/users/modules/nushell/config/config.nu @@ -500,6 +500,8 @@ $env.config.completions.external = { let cachixExists = ("/etc/cachix-agent.token" | path exists) +$env.SSH_AUTH_SOCK = /run/user/1000/keyring/ssh + if $cachixExists { open /etc/cachix-agent.token | lines | parse "{name}={value}" | reduce -f {} { |it, acc| $acc | upsert $it.name $it.value } | load-env }