virtualbox-image module: enable partition / filesystem growth

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