mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
treewide: use auto diskSize for make-disk-image
(cherry picked from commit f3aa040bcb
)
This commit is contained in:
parent
ba666011a6
commit
5aa4273e4f
9 changed files with 22 additions and 16 deletions
|
@ -11,8 +11,9 @@ in {
|
|||
options = {
|
||||
virtualbox = {
|
||||
baseImageSize = mkOption {
|
||||
type = types.int;
|
||||
default = 50 * 1024;
|
||||
type = with types; either (enum [ "auto" ]) int;
|
||||
default = "auto";
|
||||
example = 50 * 1024;
|
||||
description = ''
|
||||
The size of the VirtualBox base image in MiB.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue