This commit is contained in:
2023-02-23 11:21:45 -05:00
parent 11d1b2271d
commit 9e23891b14

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:"${pkgs.npiperelay}/bin/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
${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" ]; };