0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

treewide: use auto diskSize for make-disk-image

This commit is contained in:
lassulus 2020-12-19 19:41:11 +01:00
parent cd0ffd3f5f
commit f3aa040bcb
9 changed files with 22 additions and 16 deletions

View file

@ -18,8 +18,9 @@ in {
options = {
vmware = {
baseImageSize = mkOption {
type = types.int;
default = 2048;
type = with types; either (enum [ "auto" ]) int;
default = "auto";
example = 2048;
description = ''
The size of the VMWare base image in MiB.
'';