From 0da88333a4c79e046a34fc9ea180fad94b5f6060 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 11:50:53 +0200 Subject: [PATCH] Use nix-path for ssh-agent --- home-manager.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager.nix b/home-manager.nix index 14618cb..58cbe26 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -62,7 +62,7 @@ in Service = { Type = "simple"; Environment = "SSH_AUTH_SOCK=%t/ssh-agent.socket"; - ExecStart = "ssh-agent -D -a $SSH_AUTH_SOCK"; + ExecStart = "/run/current-system/sw/bin/ssh-agent -D -a $SSH_AUTH_SOCK"; }; Install = { WantedBy = [ "default.target" ];