···4747`nixos-shell` like so:
48484949```bash
5050-QEMU_NET_OPTS="hostfwd=tcp::6000-:6000,hostfwd=tcp::2222-:22" nixos-shell --flake .#knotVM
5050+nix run .#vm
5151+# or nixos-shell --flake .#vm
51525253# hit Ctrl-a + c + q to exit the VM
5354```
54555555-This starts a knot on port 6000 with `ssh` exposed on port
5656-2222. You can push repositories to this VM with this ssh
5757-config block on your main machine:
5656+This starts a knot on port 6000, a spindle on port 6555
5757+with `ssh` exposed on port 2222. You can push repositories
5858+to this VM with this ssh config block on your main machine:
58595960```bash
6061Host nixos-shell
+6
flake.nix
···173173 type = "app";
174174 program = ''${tailwind-watcher}/bin/run'';
175175 };
176176+ vm = {
177177+ type = "app";
178178+ program = toString (pkgs.writeShellScript "vm" ''
179179+ ${pkgs.nixos-shell}/bin/nixos-shell --flake .#vm
180180+ '');
181181+ };
176182 });
177183178184 nixosModules.appview = import ./nix/modules/appview.nix {inherit self;};