diff options
Diffstat (limited to '')
| -rw-r--r-- | .envrc | 3 | ||||
| -rw-r--r-- | infra/tf/.envrc | 12 |
2 files changed, 15 insertions, 0 deletions
@@ -1,2 +1,5 @@ use flake watch_file nix/ + +watch_file flake/*.nix +watch_file scripts/*.nix diff --git a/infra/tf/.envrc b/infra/tf/.envrc new file mode 100644 index 0000000..dd49577 --- /dev/null +++ b/infra/tf/.envrc @@ -0,0 +1,12 @@ +# shellcheck shell=bash +use flake .#terraform + +watch_file flake-module.nix +watch_file scripts.nix + +source_env_if_exists .envrc.local + +if ! use flake . --impure +then + echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2 +fi |
