2012-04-12 18:15:55 +01:00
|
|
|
{
|
|
|
|
network.description = "NixOS EBS creator";
|
2013-01-24 17:11:17 +00:00
|
|
|
|
2012-04-12 18:15:55 +01:00
|
|
|
machine =
|
2013-01-25 16:11:49 +00:00
|
|
|
{ config, pkgs, resources, ... }:
|
2012-04-12 18:15:55 +01:00
|
|
|
{ deployment.targetEnv = "ec2";
|
2014-05-21 12:40:19 +01:00
|
|
|
deployment.ec2.instanceType = "c3.large";
|
2013-01-24 17:11:17 +00:00
|
|
|
deployment.ec2.securityGroups = [ "admin" ];
|
2013-01-25 16:11:49 +00:00
|
|
|
deployment.ec2.ebsBoot = false;
|
|
|
|
deployment.ec2.keyPair = resources.ec2KeyPairs.keypair.name;
|
2014-05-21 15:31:52 +01:00
|
|
|
deployment.ec2.zone = "us-east-1e";
|
2012-04-18 13:36:20 +01:00
|
|
|
environment.systemPackages = [ pkgs.parted ];
|
2012-04-12 18:15:55 +01:00
|
|
|
};
|
|
|
|
}
|