2012-04-12 17:15:55 +00:00
|
|
|
{
|
|
|
|
network.description = "NixOS EBS creator";
|
2013-01-24 17:11:17 +00:00
|
|
|
|
2012-04-12 17:15:55 +00:00
|
|
|
machine =
|
2013-01-25 16:11:49 +00:00
|
|
|
{ config, pkgs, resources, ... }:
|
2012-04-12 17:15:55 +00:00
|
|
|
{ deployment.targetEnv = "ec2";
|
2013-01-25 16:11:49 +00:00
|
|
|
deployment.ec2.instanceType = "m1.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;
|
2012-04-18 12:36:20 +00:00
|
|
|
environment.systemPackages = [ pkgs.parted ];
|
2012-04-12 17:15:55 +00:00
|
|
|
};
|
|
|
|
}
|