mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
c6da9ef32d
See https://github.com/NixOS/nixpkgs/pull/339535 and https://github.com/NixOS/nixpkgs/pull/341058
33 lines
472 B
Nix
33 lines
472 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./disk-size-option.nix
|
|
(lib.mkRenamedOptionModuleWith {
|
|
sinceRelease = 2411;
|
|
from = [
|
|
"oci"
|
|
"diskSize"
|
|
];
|
|
to = [
|
|
"virtualisation"
|
|
"diskSize"
|
|
];
|
|
})
|
|
];
|
|
|
|
options = {
|
|
oci = {
|
|
efi = lib.mkOption {
|
|
default = true;
|
|
internal = true;
|
|
description = ''
|
|
Whether the OCI instance is using EFI.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|