mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
37 lines
575 B
Nix
37 lines
575 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
virtualisationOptions = import ./virtualisation-options.nix;
|
|
in
|
|
{
|
|
imports = [
|
|
virtualisationOptions.diskSize
|
|
(lib.mkRenamedOptionModuleWith {
|
|
sinceRelease = 2411;
|
|
from = [
|
|
"virtualisation"
|
|
"oci"
|
|
"diskSize"
|
|
];
|
|
to = [
|
|
"virtualisation"
|
|
"diskSize"
|
|
];
|
|
})
|
|
];
|
|
|
|
options = {
|
|
oci = {
|
|
efi = lib.mkOption {
|
|
default = true;
|
|
internal = true;
|
|
description = ''
|
|
Whether the OCI instance is using EFI.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|