diff options
author | zimbatm <zimbatm@zimbatm.com> | 2018-01-06 13:52:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 13:52:51 +0000 |
commit | eddf30cc93e1b778b6bc10d0eb1bb175385d034f (patch) | |
tree | b95f3a695c0794e674743e6551e47476a5b22ec6 /nixos/modules/virtualisation/virtualbox-image.nix | |
parent | 51110e2a0fc9c415973b61adf09cd1dae16abff7 (diff) | |
download | nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.gz nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.bz2 nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.lz nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.xz nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.tar.zst nixpkgs-eddf30cc93e1b778b6bc10d0eb1bb175385d034f.zip |
nixos: introduce boot.growPartition (#33521)
Move it from being a profile
Diffstat (limited to 'nixos/modules/virtualisation/virtualbox-image.nix')
-rw-r--r-- | nixos/modules/virtualisation/virtualbox-image.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/virtualbox-image.nix b/nixos/modules/virtualisation/virtualbox-image.nix index d68b3bb7390..00381c426d2 100644 --- a/nixos/modules/virtualisation/virtualbox-image.nix +++ b/nixos/modules/virtualisation/virtualbox-image.nix @@ -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; |