vmix.nix/lib/images/windows/templates
Git Sagar 6a62a649bd generalize: assert the static address per boot, not once during the build
Setting it from post-oobe.cmd could never have worked, and the reason is worth
writing down. Without delayOobeRun, OOBE runs inside the build VM -- whose NIC
is qemu user networking, on a different subnet, with a different MAC. The
address was being applied to an adapter that does not exist on the real host.
Windows then meets the target's NIC as new hardware and defaults to DHCP.

RDP came through the same script unharmed because its settings are
registry-wide rather than per-adapter, which is why one worked and the other
did not despite sitting a few lines apart.

So the script is now registered as an onstart scheduled task running as SYSTEM.
It was already idempotent, and per-boot also survives the adapter being
replaced again later.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-10 07:28:14 -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 laptop image tiers, devshell, partition preserve, cleanup 2026-05-24 13:32:18 -03:00
generalize.nix generalize: assert the static address per boot, not once during the build 2026-09-10 07:28:14 -03:00