From 4f67bbab68e9487b0209cdf1cbfc17daf5f023e3 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sat, 8 Feb 2025 01:46:17 +0000 Subject: [PATCH] gitignore tplan files --- .gitignore | 1 + infrastructure/wce.nix | 14 +++++++------- shell.nix | 1 + 3 files changed, 9 insertions(+), 7 deletions(-) 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