vmix.nix/lib/images/windows/templates
Git Sagar ee002586e5 windows/seal: keep the config CD off D:, and win the ProfilesDirectory race
Two first-boot hazards the sealed path hits that the baked path does not,
fixed in a configMedium-only variant of the data-disk init (the shared
path is byte-identical):

- The per-VM config rides an optical drive. On the target's first boot
  the data disk is still raw and unlettered, so Windows gives the CD D:
  -- where the profile volume must go. The plain `if exist D:\` guard
  then sees the CD and skips, stranding ProfilesDirectory on read-only
  media. Now a marker (not the letter) tracks first boot, and any
  occupant of D: is parked on Y: before the data disk claims it.
- Left to Shell-Setup's FolderLocations, ProfilesDirectory can be
  evaluated before the disk exists (unordered within specialize) and
  fall back to C:. It is now written to the registry in the same step
  that just created the volume, so the volume always exists first.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-16 13:11:06 -03:00
..
apps office install pt-br additional language 2026-05-25 11:52:31 -03:00
essentials vmix run command, virtio-drivers template, delay-oobe-run flag 2026-05-23 23:06:28 -03:00
registry add enableRDP flag to generalize and fix AutoLogon 2026-06-07 15:57:17 +05:30
default-apps.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00
default.nix windows: seal mode -- generic OOBE-deferred base, per-VM data on a config CD 2026-09-16 13:01:12 -03:00
generalize.nix windows/seal: keep the config CD off D:, and win the ProfilesDirectory race 2026-09-16 13:11:06 -03:00