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