nixpkgs/nixos/modules/virtualisation/oci-options.nix

21 lines
450 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
2024-09-05 12:14:16 +02:00
{
options = {
oci = {
efi = lib.mkOption {
default = true;
internal = true;
description = ''
Whether the OCI instance is using EFI.
'';
};
diskSize = lib.mkOption {
type = lib.types.int;
default = 8192;
description = "Size of the disk image created in MB.";
example = "diskSize = 12 * 1024; # 12GiB";
};
};
};
}