diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-05-28 21:57:58 -0400 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-21 22:57:38 +0100 |
commit | 9849ccb2417d8de68b2c568bee8d58d41953d6b4 (patch) | |
tree | 08c247721045f1aa9789fed98dd1ca2a7ee3628b /nixos/modules/virtualisation | |
parent | 3a35abf1697862b109230cd1ba89637a01b76c0d (diff) | |
download | nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.tar nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.tar.gz nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.tar.bz2 nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.tar.lz nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.tar.xz nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.tar.zst nixlib-9849ccb2417d8de68b2c568bee8d58d41953d6b4.zip |
nixos: Add OCI image options
Follows what amazon images does.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/oci-options.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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. + ''; + }; + }; + }; +} |