mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-26 07:02:03 +00:00
sync
This commit is contained in:
@@ -36,11 +36,11 @@ systemd.user.services.ssh-proxy = {
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
||||
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" ];
|
||||
};
|
||||
|
||||
pkgs.callPackage ./npiperelay.nix {};
|
||||
#pkgs.callPackage ./npiperelay.nix {};
|
||||
}
|
||||
Reference in New Issue
Block a user