nix-scripts/artiq-fast/wfvm/demo-ssh.nix

12 lines
280 B
Nix
Raw Normal View History

2020-06-15 00:28:31 +08:00
{ pkgs ? import <nixpkgs> {} }:
let
wfvm = (import ./default.nix { inherit pkgs; });
in
wfvm.utils.wfvm-run {
name = "demo-ssh";
image = import ./demo-image.nix { inherit pkgs; };
display = true;
script = "${pkgs.openssh}/bin/ssh -p 2022 wfvm@localhost";
}