nixpkgs/nixos/maintainers/scripts/ec2/ebs-creator.nix

14 lines
404 B
Nix
Raw Normal View History

{
network.description = "NixOS EBS creator";
2013-01-24 21:11:17 +04:00
machine =
{ config, pkgs, resources, ... }:
{ deployment.targetEnv = "ec2";
deployment.ec2.instanceType = "c3.large";
2014-12-30 20:19:52 +03:00
deployment.ec2.securityGroups = [ "public-ssh" ];
deployment.ec2.ebsBoot = false;
deployment.ec2.keyPair = resources.ec2KeyPairs.keypair.name;
environment.systemPackages = [ pkgs.parted ];
};
}