diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-10 14:20:37 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-10 14:20:37 -0700 |
| commit | af90d2b71c098eacd173f87304f79b02e52cb921 (patch) | |
| tree | c1e253f26fb49f3f43e68471f9ff3f3b47a2d573 | |
| parent | don't ignore .envrc file with git (diff) | |
| download | infra-af90d2b71c098eacd173f87304f79b02e52cb921.tar.gz | |
update a few .envrc
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 |
