Use nix-path for ssh-agent

This commit is contained in:
RealStickman 2023-05-01 11:50:53 +02:00
parent f57f591dea
commit 0da88333a4

View File

@ -62,7 +62,7 @@ in
Service = { Service = {
Type = "simple"; Type = "simple";
Environment = "SSH_AUTH_SOCK=%t/ssh-agent.socket"; 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 = { Install = {
WantedBy = [ "default.target" ]; WantedBy = [ "default.target" ];