nixos: introduce boot.growPartition (#33521)

Move it from being a profile
This commit is contained in:
zimbatm
2018-01-06 13:52:51 +00:00
committed by GitHub
parent 51110e2a0f
commit eddf30cc93
9 changed files with 57 additions and 58 deletions
@@ -8,8 +8,6 @@ let
in {
imports = [ ./grow-partition.nix ];
options = {
virtualbox = {
baseImageSize = mkOption {
@@ -23,7 +21,6 @@ in {
};
config = {
system.build.virtualBoxOVA = import ../../lib/make-disk-image.nix {
name = "nixos-ova-${config.system.nixosLabel}-${pkgs.stdenv.system}";
@@ -71,6 +68,7 @@ in {
autoResize = true;
};
boot.growPartition = true;
boot.loader.grub.device = "/dev/sda";
virtualisation.virtualbox.guest.enable = true;