From 8ad0cbac266054efaf2ef22685cadd2d6999affb Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 8 Feb 2025 12:13:46 +0100 Subject: [PATCH] fix: allow ssh-agent to work proprely --- hosts/rick/includes/home-manager.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/rick/includes/home-manager.nix b/hosts/rick/includes/home-manager.nix index 0f67972..a98c311 100644 --- a/hosts/rick/includes/home-manager.nix +++ b/hosts/rick/includes/home-manager.nix @@ -1,5 +1,5 @@ _: -{ +{ programs.zsh.loginExtra = '' #notmutch export NOTMUCH_CONFIG="$HOME/.config/notmuch/config" @@ -14,6 +14,7 @@ _: export NO_AT_BRIDGE=1 export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway + export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket exec ~/.local/bin/sway.sh fi '';