Preparation steps
Install a Windows image
- Adjust build.nix accordingly
- Run:
If in impure mode
nix-build build.nix
./result
Results in a file called c.img
If in "pure" mode
nix-build --option sandbox false build.nix
ls -la ./result
Results in a symlink to the image in the nix store