CLI (nix run .#): - `vmix build` and `vmix copy` subcommands - --image, --generalize key=val, --to-disk, --to-remote-disk - SDL display auto-detected via DISPLAY temp file passthrough - --print-build-logs for visible build progress - -S 4k sparse writes for faster disk copy Images: - win10.laptop and win11.laptop bundles (no VirtIO, keeps defender/hibernation) - templates.bundles.laptop shared template list - win11 adds reg.disableUCPD on top Build improvements: - consistent === vmix: === log prefixes - SDL display via /tmp/.vmix-display-$$ temp file Env helpers: - .env-export-vmix-cli-local: vmix alias for local flake Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
# Pre-built Win10 LTSC 2021 images from upstream ISO
|
|
# Pipeline: makeImage (Audit Mode) → essentials → apps → registry → generalize
|
|
{ pkgs, lib, system, windows, upstreamISOs, ... }:
|
|
with windows;
|
|
{
|
|
ltsc = rec {
|
|
upstream = makeImage {
|
|
name = "win10-ltsc-2021";
|
|
upstreamISO = upstreamISOs.win10-ltsc-2021;
|
|
productKey = "M7XTQ-FN8P6-TTKYV-9D4CC-J462D";
|
|
};
|
|
basic = customizeImageFold upstream (with templates; [
|
|
essentials.virtioTools
|
|
essentials.removeIE
|
|
essentials.removeWMP
|
|
essentials.removeEdge
|
|
essentials.vcppRuntimes
|
|
essentials.bestPerformance
|
|
reg.hardened
|
|
apps.edgeWebview
|
|
apps.thorium
|
|
]);
|
|
|
|
withApps = customizeImageFold basic (with templates; [
|
|
apps.sandboxie
|
|
apps.sevenZip
|
|
apps.vlc
|
|
apps.imageGlass
|
|
apps.office
|
|
]);
|
|
|
|
withAMDGPU = customizeImage basic templates.essentials.amdGpuDrivers;
|
|
};
|
|
|
|
laptop = customizeImageFold (makeImage {
|
|
name = "win10-ltsc-2021-laptop";
|
|
upstreamISO = upstreamISOs.win10-ltsc-2021;
|
|
productKey = "M7XTQ-FN8P6-TTKYV-9D4CC-J462D";
|
|
}) templates.bundles.laptop;
|
|
}
|