terraformize the repo

This commit is contained in:
TheWanderingCrow 2025-02-07 11:57:56 -05:00
parent aade69f2a6
commit 0186ffd7ad
6 changed files with 203 additions and 1 deletions

16
infrastructure/wce.nix Normal file
View file

@ -0,0 +1,16 @@
{...}: {
terraform.required_providers = {
digitalocean = {
source = "digitalocean/digitalocean";
version = "2.48.2";
};
};
resource."digitalocean_droplet"."do-wce-lighthouse1" = {
image = "177939596"; # nixos-digitalocean
name = "do-wce-lighthouse1";
region = "nyc3";
size = "s-1vcpu-1gb";
ssh_keys = ["45378200"];
};
}