Skip to content

Instantly share code, notes, and snippets.

@betaboon
Created September 21, 2018 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save betaboon/9c9897c7ec424a3066b2a9d6d92f0e9f to your computer and use it in GitHub Desktop.
Save betaboon/9c9897c7ec424a3066b2a9d6d92f0e9f to your computer and use it in GitHub Desktop.
node = { resources, ... }: {
fileSystems = {
"/nix/store" = {
autoFormat = true;
fsType = "ext4";
device = "/dev/nvme1n1";
neededForBoot = true;
autoResize = true;
};
};
deployment.targetEnv = "ec2";
deployment.ec2 = {
inherit accessKeyId region zone tags;
instanceType = "t3.nano";
ebsInitialRootDiskSize = 10;
blockDeviceMapping."/dev/nvme1n1".size = 5;
...
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment