π Development Guide β
This guide describes the "Inner Loop" of platform development: how to modify the configuration, verify your changes safely, and prepare them for production.
π The Inner Loop β
The standard development cycle follows these three steps:
- Edit: Modify a module or profile under
nixos/. - Build: Verify that the code evaluates and compiles correctly.
- Test: Boot the configuration in a local QEMU virtual machine to ensure behavior is correct.
π§ͺ Local Verification β
Because applying changes directly to your physical hardware is risky, we use a disposable VM for testing.
1. Build and Run the VM β
This will compile your current Git state and launch a QEMU window:
sh
just vm run2. Automated Tests β
Run the automated test suite to verify network, SSH, and core services:
sh
just vm testποΈ Building Products β
To verify that the full workstation product builds without errors (without launching a VM or applying it):
sh
just workstation-gui buildThe build output is stored in the target/ directory, which is ignored by Git.
π’ Next Steps β
Once your changes are verified in the VM, you can follow the Automated Validation to prepare a Pull Request.