+2
-2
doc/build-helpers/images/dockertools.section.md
+2
-2
doc/build-helpers/images/dockertools.section.md
···-: Controls the disk size (in megabytes) of the VM used to run the script specified in `runAsRoot`.+: Controls the disk size in MiB (1024x1024 bytes) of the VM used to run the script specified in `runAsRoot`.-: Controls the amount of memory (in megabytes) provisioned for the VM used to run the script specified in `runAsRoot`.+: Controls the amount of memory in MiB (1024x1024 bytes) provisioned for the VM used to run the script specified in `runAsRoot`.
+1
-1
doc/build-helpers/images/makediskimage.section.md
+1
-1
doc/build-helpers/images/makediskimage.section.md
+1
-1
doc/build-helpers/special/vm-tools.section.md
+1
-1
doc/build-helpers/special/vm-tools.section.md
···* `preVM` (optional). Shell command to be evaluated *before* the VM is started (i.e., on the host).Note that currently we expect the image to contain a filesystem, not a full disk image with a partition table etc.
+1
-1
nixos/doc/manual/development/writing-nixos-tests.section.md
+1
-1
nixos/doc/manual/development/writing-nixos-tests.section.md
+2
-2
nixos/lib/make-disk-image.nix
+2
-2
nixos/lib/make-disk-image.nix
······
+3
-3
nixos/lib/make-multi-disk-zfs-image.nix
+3
-3
nixos/lib/make-multi-disk-zfs-image.nix
······
+4
-4
nixos/lib/make-single-disk-zfs-image.nix
+4
-4
nixos/lib/make-single-disk-zfs-image.nix
···
+1
-1
nixos/modules/config/swap.nix
+1
-1
nixos/modules/config/swap.nix
+1
-2
nixos/modules/installer/sd-card/sd-image.nix
+1
-2
nixos/modules/installer/sd-card/sd-image.nix
···
+2
-2
nixos/modules/profiles/nix-builder-vm.nix
+2
-2
nixos/modules/profiles/nix-builder-vm.nix
···
+1
-1
nixos/modules/services/databases/memcached.nix
+1
-1
nixos/modules/services/databases/memcached.nix
···
+1
-1
nixos/modules/virtualisation/disk-size-option.nix
+1
-1
nixos/modules/virtualisation/disk-size-option.nix
···defaultText = lib.literalExpression "if virtualisation.diskSizeAutoSupported then \"auto\" else 1024";
+1
-1
nixos/modules/virtualisation/proxmox-image.nix
+1
-1
nixos/modules/virtualisation/proxmox-image.nix
+3
-3
nixos/modules/virtualisation/qemu-vm.nix
+3
-3
nixos/modules/virtualisation/qemu-vm.nix
·········-virtualisation.memorySize is above 2047, but qemu is only able to allocate 2047MB RAM on 32bit max.+virtualisation.memorySize is above 2047, but qemu is only able to allocate 2047 MiB RAM on 32bit max.
+1
-1
nixos/modules/virtualisation/waagent.nix
+1
-1
nixos/modules/virtualisation/waagent.nix
···
+7
-7
pkgs/build-support/vm/default.nix
+7
-7
pkgs/build-support/vm/default.nix
·········