mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
22 lines
496 B
Nix
22 lines
496 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
options = {
|
|
ec2 = {
|
|
hvm = lib.mkOption {
|
|
default = lib.versionAtLeast config.system.stateVersion "17.03";
|
|
internal = true;
|
|
description = ''
|
|
Whether the EC2 instance is a HVM instance.
|
|
'';
|
|
};
|
|
efi = lib.mkOption {
|
|
default = pkgs.stdenv.hostPlatform.isAarch64;
|
|
internal = true;
|
|
description = ''
|
|
Whether the EC2 instance is using EFI.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|