Use nix-path for ssh-agent
This commit is contained in:
parent
f57f591dea
commit
0da88333a4
@ -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" ];
|
||||||
|
Reference in New Issue
Block a user