mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -42,5 +42,5 @@ systemd.user.services.ssh-proxy = {
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
|
||||
|
||||
pkgs.callPackage ./npiperelay.nix {};
|
||||
}
|
||||
14
hosts/wsl2/npiperelay.nix
Normal file
14
hosts/wsl2/npiperelay.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "npiperelay";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/rupor-github/wsl-ssh-agent/releases/download/v1.6.3/wsl-ssh-agent.zip";
|
||||
sha256 = "39e6765a6836484707c26f3372561380b1e619492dc91bf8ebeec37aaee8f3d7";
|
||||
};
|
||||
phases = ["installPhase" "patchPhase"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/npiperelay.exe
|
||||
chmod +x $out/bin/npiperelay.exe
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user