HWID is hardware-tied and doesn't survive VM migration. TSforge manipulates the physical activation store directly and is portable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
48 lines
1.5 KiB
Nix
48 lines
1.5 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;
|
|
rec {
|
|
ltsc = rec {
|
|
upstream = makeImage {
|
|
name = "win10-ltsc-2021";
|
|
upstreamISO = upstreamISOs.win10-ltsc-2021;
|
|
productKey = "M7XTQ-FN8P6-TTKYV-9D4CC-J462D";
|
|
};
|
|
# Apply all available Windows Updates (cumulative, .NET, Defender)
|
|
updated = customizeImage upstream (templates.essentials.windowsUpdate {});
|
|
basic = customizeImageFold updated (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;
|
|
};
|
|
|
|
laptopUpstream = makeImage {
|
|
name = "win10-ltsc-2021-laptop";
|
|
upstreamISO = upstreamISOs.win10-ltsc-2021;
|
|
productKey = "M7XTQ-FN8P6-TTKYV-9D4CC-J462D";
|
|
useAHCI = true;
|
|
};
|
|
laptopUpdated = customizeImage laptopUpstream (templates.essentials.windowsUpdate {});
|
|
|
|
laptopSlim = customizeImageFold laptopUpdated templates.bundles.laptopSlim;
|
|
|
|
laptop = customizeImageFold laptopUpdated templates.bundles.laptop;
|
|
}
|