diff --git a/hosts/wsl2/default.nix b/hosts/wsl2/default.nix index e196da9..558ed73 100644 --- a/hosts/wsl2/default.nix +++ b/hosts/wsl2/default.nix @@ -35,7 +35,7 @@ systemd.user.services.ssh-proxy = { Unit = { Description = "WSL Proxy"; }; - Service = { + 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