mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-15 19:56:17 +00:00
sync
This commit is contained in:
@@ -44,34 +44,6 @@ nixpkgs.config.packageOverrides = pkgs: with pkgs; rec {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemd.user.units.ssh-proxy = {
|
|
||||||
Unit = {
|
|
||||||
Description = "WSL Proxy";
|
|
||||||
};
|
|
||||||
Service = {
|
|
||||||
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
|
||||||
rm -f /tmp/.ssh-sock
|
|
||||||
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/.ssh-sock,fork EXEC:"/mnt/c/ProgramData/chocolatey/bin/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
|
||||||
''}";
|
|
||||||
};
|
|
||||||
Install = {
|
|
||||||
WantedBy = [ "default.target" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
systemd.services.nixs-wsl-systemd-fix = {
|
systemd.services.nixs-wsl-systemd-fix = {
|
||||||
description = "Fix the /dev/shm symlink to be a mount";
|
description = "Fix the /dev/shm symlink to be a mount";
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user