add amazon ec2 support

This commit is contained in:
Jörg Thalheim 2020-08-18 10:02:48 +01:00
parent 81e5536b51
commit 79c5eee44c
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
2 changed files with 9 additions and 0 deletions

View File

@ -30,6 +30,7 @@ nix-env -f https://github.com/nix-community/nixos-generators/archive/master.tar.
format | description
--- | ---
amazon | Amazon EC2 image
azure | Microsoft azure image (Generation 1 / VHD)
do | Digital Ocean image
gce | Google Compute image

8
formats/amazon.nix Normal file
View File

@ -0,0 +1,8 @@
{ modulesPath, ... }:
{
imports = [
"${toString modulesPath}/../maintainers/scripts/ec2/amazon-image.nix"
];
formatAttr = "amazonImage";
}