mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-14 11:22:28 +00:00
sync
This commit is contained in:
@@ -36,11 +36,11 @@ systemd.user.services.ssh-proxy = {
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
||||||
rm -f /tmp/.ssh-sock
|
rm -f /tmp/.ssh-sock
|
||||||
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/.ssh-sock,fork EXEC:"/mnt/c/Windows/system32/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/.ssh-sock,fork EXEC:"/mnt/c/ProgramData/chocolatey/lib/npiperelay/tools/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
||||||
''}";
|
''}";
|
||||||
};
|
};
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
pkgs.callPackage ./npiperelay.nix {};
|
#pkgs.callPackage ./npiperelay.nix {};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user