nixos: Add OCI image options

Follows what amazon images does.
This commit is contained in:
Samuel Dionne-Riel 2021-05-28 21:57:58 -04:00 committed by Thiago Kenji Okada
parent 3a35abf169
commit 9849ccb241
2 changed files with 15 additions and 0 deletions

View File

@ -1484,6 +1484,7 @@
./virtualisation/nixos-containers.nix
./virtualisation/oci-containers.nix
./virtualisation/openstack-options.nix
./virtualisation/oci-options.nix
./virtualisation/openvswitch.nix
./virtualisation/parallels-guest.nix
./virtualisation/podman/default.nix

View File

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
{
options = {
oci = {
efi = lib.mkOption {
default = pkgs.stdenv.hostPlatform.isAarch64;
internal = true;
description = ''
Whether the OCI instance is using EFI.
'';
};
};
};
}