14 lines
404 B
Nix
14 lines
404 B
Nix
{
|
|
network.description = "NixOS EBS creator";
|
|
|
|
machine =
|
|
{ config, pkgs, resources, ... }:
|
|
{ deployment.targetEnv = "ec2";
|
|
deployment.ec2.instanceType = "c3.large";
|
|
deployment.ec2.securityGroups = [ "public-ssh" ];
|
|
deployment.ec2.ebsBoot = false;
|
|
deployment.ec2.keyPair = resources.ec2KeyPairs.keypair.name;
|
|
environment.systemPackages = [ pkgs.parted ];
|
|
};
|
|
}
|