laptop image tiers, devshell, partition preserve, cleanup

Images:
- laptopUpstream: bare OS install with AHCI, no templates
- laptopSlim: essentials only (debloat, registry tweaks)
- laptop: full (essentials + all apps)
- win10/win11 images use rec for self-references

CLI:
- preserve recovery partition (4) during disk copy
- expand partition 3 up to partition 4 boundary
- remove VNC CLI flag (use vncDisplay in nix configs instead)

Flake:
- add devShell with vmix alias and PS1 prompt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Git Sagar 2026-05-24 13:32:18 -03:00
parent ee64eef7e1
commit 20e8b98fec
5 changed files with 52 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Pipeline: makeImage (Audit Mode) → essentials → apps → registry
{ pkgs, lib, system, windows, upstreamISOs, ... }:
with windows;
{
rec {
ltsc = rec {
upstream = makeImage {
name = "win11-ltsc-2024";
@ -36,12 +36,18 @@ with windows;
withAMDGPU = customizeImage basic templates.essentials.amdGpuDrivers;
};
laptop = customizeImageFold (makeImage {
laptopUpstream = makeImage {
name = "win11-ltsc-2024-laptop";
upstreamISO = upstreamISOs.win11-ltsc-2024;
productKey = "M7XTQ-FN8P6-TTKYV-9D4CC-J462D";
bypassRequirements = true;
useAHCI = true;
windowsVersionForVirtioDrivers = "w11";
}) (templates.bundles.laptop ++ [ templates.reg.disableUCPD ]);
};
laptopSlim = customizeImageFold laptopUpstream
(templates.bundles.laptopSlim ++ [ templates.reg.disableUCPD ]);
laptop = customizeImageFold laptopUpstream
(templates.bundles.laptop ++ [ templates.reg.disableUCPD ]);
}