mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
13 lines
323 B
Nix
13 lines
323 B
Nix
# Exposes a port through SSH
|
|
# xpo [local port] [remote host] [remote port]
|
|
|
|
{ lib, writeShellApplication, openssh }: (writeShellApplication {
|
|
name = "xpo";
|
|
runtimeInputs = [ openssh ];
|
|
text = builtins.readFile ./xpo.sh;
|
|
}) // {
|
|
meta = with lib; {
|
|
licenses = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|