From 9849ccb2417d8de68b2c568bee8d58d41953d6b4 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Fri, 28 May 2021 21:57:58 -0400 Subject: nixos: Add OCI image options Follows what amazon images does. --- nixos/modules/virtualisation/oci-options.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nixos/modules/virtualisation/oci-options.nix (limited to 'nixos/modules/virtualisation') diff --git a/nixos/modules/virtualisation/oci-options.nix b/nixos/modules/virtualisation/oci-options.nix new file mode 100644 index 000000000000..15c7b30863db --- /dev/null +++ b/nixos/modules/virtualisation/oci-options.nix @@ -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. + ''; + }; + }; + }; +} -- cgit 1.4.1