2023-10-09 19:29:22 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
oci = {
|
|
|
|
efi = lib.mkOption {
|
|
|
|
default = true;
|
|
|
|
internal = true;
|
|
|
|
description = ''
|
|
|
|
Whether the OCI instance is using EFI.
|
|
|
|
'';
|
|
|
|
};
|
2024-06-24 18:47:55 +00:00
|
|
|
diskSize = lib.mkOption {
|
|
|
|
type = lib.types.int;
|
|
|
|
default = 8192;
|
|
|
|
description = "Size of the disk image created in MB.";
|
|
|
|
example = "diskSize = 12 * 1024; # 12GiB";
|
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|