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:
parent
ee64eef7e1
commit
20e8b98fec
5 changed files with 52 additions and 7 deletions
2
cli.nix
2
cli.nix
|
|
@ -224,7 +224,7 @@ pkgs.writeShellScriptBin "vmix" ''
|
|||
${pkgs.gptfdisk}/bin/sgdisk -d 4 "$TO_DISK" 2>/dev/null || true
|
||||
|
||||
echo "[4/5] Expanding Windows partition (partition 3)..."
|
||||
${pkgs.parted}/bin/parted -s "$TO_DISK" resizepart 3 100%
|
||||
${pkgs.parted}/bin/parted -s "$TO_DISK" resizepart 3 100%
|
||||
|
||||
if [[ "$TO_DISK" == *nvme* ]] || [[ "$TO_DISK" == *mmcblk* ]]; then
|
||||
WIN_PART="''${TO_DISK}p3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue