From e01eb177959c596f38311fd2ebbc1fdf91ec205d Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 30 Aug 2025 20:45:11 -0400 Subject: [PATCH] repart tweaks --- modules/mobile/repart.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/modules/mobile/repart.nix b/modules/mobile/repart.nix index cc5a783..42aaa6d 100644 --- a/modules/mobile/repart.nix +++ b/modules/mobile/repart.nix @@ -37,14 +37,8 @@ in { image.repart = { name = "image"; + split = true; partitions = { - "10-uboot-padding" = { - repartConfig = { - Type = "linux-generic"; - Label = "uboot-padding"; - SizeMinBytes = "10M"; - }; - }; "20-esp" = { contents = { "/EFI/EDK2-UEFI-SHELL/SHELL.EFI".source = "${crossPkgs.edk2-uefi-shell.overrideAttrs {env.NIX_CFLAGS_COMPILE = "-Wno-error=maybe-uninitialized";}}/shell.efi"; @@ -61,8 +55,9 @@ in { }; repartConfig = { Type = "esp"; - Format = "vfat"; Label = "ESP"; + Format = "vfat"; + SplitName = "boot"; SizeMinBytes = "500M"; GrowFileSystem = true; }; @@ -75,6 +70,7 @@ in { Format = "ext4"; Label = "nixos"; Minimize = "guess"; + SplitName = "userdata"; GrowFileSystem = true; }; };