build: add OpenTofu to the dev shell and ignore its state

- flake.nix: add pkgs.opentofu to the devshell (LXC provisioning pilot).
- .gitignore: ignore tofu/.terraform/, *.tfstate*, *.tfplan and tofu/.env.
  The provider lock file (tofu/.terraform.lock.hcl) stays tracked on purpose:
  it pins the provider version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uoq5AVK8mkBgg83Mq6o5V
This commit is contained in:
Dmitry
2026-09-03 07:03:52 +03:00
co-authored by Claude Sonnet 5
parent 7700ed5a88
commit 22394cbaba
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -38,6 +38,8 @@
pkgs.openssh
pkgs.curl
pkgs.gnumake
# Provisioning LXC на этапе пилота: см. tofu/README.md.
pkgs.opentofu
];
shellHook = ''