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

View File

@@ -6,7 +6,6 @@ with lib;
imports = [
../profiles/qemu-guest.nix
../profiles/headless.nix
./grow-partition.nix
];
config = {
@@ -15,8 +14,7 @@ with lib;
autoResize = true;
};
virtualisation.growPartition = true;
boot.growPartition = true;
boot.kernelParams = [ "console=ttyS0" ];
boot.loader.grub.device = "/dev/vda";
boot.loader.timeout = 0;