This commit is contained in:
2023-02-23 11:20:15 -05:00
parent cd7aac7b65
commit 11d1b2271d

View File

@@ -106,7 +106,7 @@ programs = {
Service = {
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
rm -f /home/sstent/.ssh/wsl-ssh-agent.sock
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/home/sstent/.ssh/wsl-ssh-agent.sock,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/home/sstent/.ssh/wsl-ssh-agent.sock,fork EXEC:"${pkgs.npiperelay}/bin/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
''}";
};
#Install = { WantedBy = [ "default.target" ]; };