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