diff --git a/.gitignore b/.gitignore index ff3af5f..9df2212 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ override.tf.json .terraform.tfstate.lock.info .terraformrc terraform.rc +*.tplan diff --git a/infrastructure/wce.nix b/infrastructure/wce.nix index 4e0d444..2b06075 100644 --- a/infrastructure/wce.nix +++ b/infrastructure/wce.nix @@ -29,11 +29,11 @@ }; }; - #resource."digitalocean_droplet"."do-wce-lighthouse1" = { - # image = "177939596"; # nixos-digitalocean - # name = "do-wce-lighthouse1"; - # region = "nyc3"; - # size = "s-1vcpu-1gb"; - # ssh_keys = ["45378200"]; - #}; + resource."digitalocean_droplet"."do-wce-lighthouse1" = { + image = "177939596"; # nixos-digitalocean + name = "do-wce-lighthouse1"; + region = "nyc3"; + size = "s-1vcpu-1gb"; + ssh_keys = ["45378200"]; + }; } diff --git a/shell.nix b/shell.nix index 7d004fe..1c937a9 100644 --- a/shell.nix +++ b/shell.nix @@ -2,6 +2,7 @@ default = pkgs.mkShell { NIX_CONFIG = "extra-experimental-features = nix-command flakes"; DIGITALOCEAN_TOKEN = builtins.readFile /run/secrets/digitalocean/token; + AWS_PROFILE = "wce"; nativeBuildInputs = with pkgs; [ git vim