mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
make-disk-image: add useVirtualDevices option
This commit is contained in:
2 files changed
+30
-14
No files matched your search
@@ -134,6 +134,15 @@ in
|
||||
description = "QEMU image format to use for the disk images";
|
||||
default = "raw";
|
||||
};
|
||||
|
||||
useVirtualDevices = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = ''
|
||||
Replace device names with ones usable in VMs. Ex: `/dev/vda`.
|
||||
Disable this if the disk image is for use on real hardware.
|
||||
'';
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
memSize = lib.mkOption {
|
||||
|
||||
Reference in new issue
Block a user