nix-scripts/artiq-fast/wfvm
Sebastien Bourdeauducq ffed59ad95 wfvm: remove Visual Studio
Installer is a piece of trash and won't work reliably in command line.
2020-06-20 19:58:20 +08:00
..
bundle wfvm: remove direnv file (accidentally committed?) 2020-06-14 21:59:38 +08:00
layers wfvm: remove Visual Studio 2020-06-20 19:58:20 +08:00
openssh add wfvm 2020-06-13 18:57:50 +08:00
README.md wfvm: reorganize 2020-06-14 12:23:22 +08:00
autounattend.nix wfvm: autologin user 2020-06-16 19:06:20 +08:00
default.nix wfvm: reorganize, add demo-ssh 2020-06-15 00:29:01 +08:00
demo-image.nix wfvm: revert accidentally committed part of f464b61290 2020-06-16 14:49:16 +08:00
demo-ssh.nix wfvm: allow network access in SSH demo 2020-06-15 20:16:11 +08:00
utils.nix wfvm: do not use virtio graphics (driver not installed) 2020-06-20 14:23:49 +08:00
win.nix wfvm: increase VM disk image size 2020-06-20 19:52:22 +08:00

README.md

Preparation steps

Install a Windows image

  1. Adjust demo-image.nix accordingly
  2. Run:

If in impure mode

nix-build demo-image.nix
./result

Results in a file called c.img

If in pure mode

nix-build demo-image.nix
ls -la ./result

Results in a symlink to the image in the nix store

Impure/pure mode

Sometimes it can be useful to build the image outside of the Nix sandbox for debugging purposes.

For this purpose we have an attribute called impureMode which outputs the shell script used by Nix inside the sandbox to build the image.