treewide: use auto diskSize for make-disk-image

(cherry picked from commit f3aa040bcb)
This commit is contained in:
lassulus
2021-04-24 14:49:07 -04:00
committed by Samuel Dionne-Riel
parent ba666011a6
commit 5aa4273e4f
9 changed files with 22 additions and 16 deletions
@@ -40,8 +40,9 @@ in {
};
sizeMB = mkOption {
type = types.int;
default = if config.ec2.hvm then 2048 else 8192;
type = with types; either (enum [ "auto" ]) int;
default = "auto";
example = 8192;
description = "The size in MB of the image";
};