From efd6d4f07b2a27c7696d9d573f4bf340d3b21f40 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 8 Jan 2026 22:21:22 -0600 Subject: [PATCH] Add note to remind self about test vms --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 274efb1..4d0097d 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,9 @@ Go through the normal process to setup a NixOS system during installation. To add a new host, create a folder in the directory `hosts/` that matches the name of the target system. Each host must contain, minimally, a `default.nix` file that serves as the basis of configuring that host. + +# Test build a VM for your system + +* `nom build ".#nixosConfigurations..config.system.build.vm` +* `export QEMU_NET_OPTS="hostfwd=tcp::2221-:22"` to export the SSH port +* `./result/bin/run--vm`