vmix.nix/lib/images/windows
Git Sagar 9a8f5da998 generalize: writeFilter, putting UWF's overlay on the data volume
A disk-mode overlay defaults to C:\uwfswap.sys -- on the very volume being
protected, which is the opposite of the point. uwfmgr grew a create-swapfile
subcommand for exactly this, and it only accepts the call while the filter is
off and the overlay is already in disk mode, so the ordering in the generated
script is forced rather than stylistic.

Configuration is deferred to the target's first boot through RunOnce instead
of running in the build. Two reasons: uwfmgr does not exist until the DISM
feature has been through a reboot, and the swapfile belongs on the real data
volume rather than on the throwaway copy the build attaches. Enabling the
filter needs one more restart after that, which the script asks for itself.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-09 23:22:40 -03:00
..
drivers sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00
helpers windows/pci: vIOMMU for nested passthrough, and a data disk built with the image 2026-09-09 22:27:44 -03:00
templates generalize: writeFilter, putting UWF's overlay on the data volume 2026-09-09 23:22:40 -03:00
win10 laptop image tiers, devshell, partition preserve, cleanup 2026-05-24 13:32:18 -03:00
win11 laptop image tiers, devshell, partition preserve, cleanup 2026-05-24 13:32:18 -03:00
default.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00