virtualbox-image module: enable partition / filesystem growth

+6 -1
+6 -1
nixos/modules/virtualisation/virtualbox-image.nix
··· 8 8 9 9 in { 10 10 11 + imports = [ ./grow-partition.nix ]; 12 + 11 13 options = { 12 14 virtualbox = { 13 15 baseImageSize = mkOption { ··· 64 66 ''; 65 67 }; 66 68 67 - fileSystems."/".device = "/dev/disk/by-label/nixos"; 69 + fileSystems."/" = { 70 + device = "/dev/disk/by-label/nixos"; 71 + autoResize = true; 72 + }; 68 73 69 74 boot.loader.grub.device = "/dev/sda"; 70 75