20 lines
437 B
Markdown
20 lines
437 B
Markdown
# Preparing a Windows image
|
|
|
|
```shell
|
|
nix-build install.nix
|
|
result/bin/networked-installer.sh
|
|
```
|
|
|
|
Follow the instructions.
|
|
|
|
Then press **return** to automatically complete the installation via SSH. The virtual machine will be shut down when the process is complete.
|
|
|
|
Move the image `c.img` to one of Nix' `extra-sandbox-paths` (`nix.sandboxPaths` on NixOS).
|
|
|
|
|
|
# Running the tests
|
|
|
|
```shell
|
|
nix-build --arg diskImage "\"…/c.img\""
|
|
```
|