| 
									
										
										
										
											2019-05-25 18:53:15 +09:00
										 |  |  | { config, lib, pkgs, ... }: | 
					
						
							| 
									
										
										
										
											2015-02-16 09:56:08 +00:00
										 |  |  | { | 
					
						
							|  |  |  |   options = { | 
					
						
							|  |  |  |     ec2 = { | 
					
						
							|  |  |  |       hvm = lib.mkOption { | 
					
						
							| 
									
										
										
										
											2018-07-25 23:22:54 +03:00
										 |  |  |         default = lib.versionAtLeast config.system.stateVersion "17.03"; | 
					
						
							| 
									
										
										
										
											2015-02-16 09:56:08 +00:00
										 |  |  |         internal = true; | 
					
						
							|  |  |  |         description = ''
 | 
					
						
							|  |  |  |           Whether the EC2 instance is a HVM instance. | 
					
						
							|  |  |  |         '';
 | 
					
						
							|  |  |  |       }; | 
					
						
							| 
									
										
										
										
											2019-05-25 18:53:15 +09:00
										 |  |  |       efi = lib.mkOption { | 
					
						
							|  |  |  |         default = pkgs.stdenv.hostPlatform.isAarch64; | 
					
						
							|  |  |  |         internal = true; | 
					
						
							|  |  |  |         description = ''
 | 
					
						
							|  |  |  |           Whether the EC2 instance is using EFI. | 
					
						
							|  |  |  |         '';
 | 
					
						
							|  |  |  |       }; | 
					
						
							| 
									
										
										
										
											2015-02-16 09:56:08 +00:00
										 |  |  |     }; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |