From 5f78e8e868c401666661f6c2fa37bce1f0b5c4d9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 15 Apr 2022 14:21:10 +0200 Subject: feat(tazjin/polyanka): Grow root partition on boot Change-Id: I17e5a988b4be0ac764ce4cf6db243728165e753b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5449 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/polyanka/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'users/tazjin') diff --git a/users/tazjin/nixos/polyanka/default.nix b/users/tazjin/nixos/polyanka/default.nix index 476e3fd13af2..7d25be148700 100644 --- a/users/tazjin/nixos/polyanka/default.nix +++ b/users/tazjin/nixos/polyanka/default.nix @@ -19,6 +19,9 @@ in boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only boot.initrd.availableKernelModules = [ "ata_piix" "vmw_pvscsi" "sd_mod" "sr_mod" ]; + # Adjust to disk size increases + boot.growPartition = true; + virtualisation.vmware.guest.enable = true; virtualisation.vmware.guest.headless = true; -- cgit 1.4.1