mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 02:43:24 +03:00
rootfs: Default to growing rootfs
This commit is contained in:
parent
1fdf5e7ee7
commit
4ac7b4c970
@ -9,6 +9,8 @@ in
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.generic-extlinux-compatible.enable = false;
|
||||
|
||||
boot.growPartition = lib.mkDefault true;
|
||||
|
||||
system.build.rootfs =
|
||||
pkgs.imageBuilder.fileSystem.makeExt4 {
|
||||
name = "NIXOS_SYSTEM";
|
||||
@ -27,8 +29,9 @@ in
|
||||
echo "Done copying system closure..."
|
||||
cp -v ${closureInfo}/registration ./nix-path-registration
|
||||
'';
|
||||
# FIXME : fixup the partition autoexpand.
|
||||
extraPadding = pkgs.imageBuilder.size.MiB 500;
|
||||
|
||||
# Give some headroom for initial mounting.
|
||||
extraPadding = pkgs.imageBuilder.size.MiB 20;
|
||||
}
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user