Use nix-path for ssh-agent

This commit is contained in:
RealStickman 2023-05-01 11:50:53 +02:00
parent b3b21c199a
commit af1a67df96

View File

@ -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" ];