treewide: use auto diskSize for make-disk-image

This commit is contained in:
lassulus
2021-04-22 19:52:49 +02:00
parent cd0ffd3f5f
commit f3aa040bcb
9 changed files with 22 additions and 16 deletions
@@ -18,8 +18,9 @@ in
options = {
virtualisation.googleComputeImage.diskSize = mkOption {
type = with types; int;
default = 1536;
type = with types; either (enum [ "auto" ]) int;
default = "auto";
example = 1536;
description = ''
Size of disk image. Unit is MB.
'';