Configuration using OpenTofu and Nix
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| main.tf | ||
| README.md | ||
| secret.tfvars.example | ||
OpenTofu server configuration
This is an experimental configuration for my Hetzner VPS using OpenTofu and Nix.
How to use
Copy secret.tfvars.example to secret.tfvars and fill in the values.
To generate a token with Hetzner, go to the project and click Security -> API Tokens.
Run nix develop to access a shell where OpenTofu is accessible.
Aliases
The following aliases in the development shell include the secrets file automatically.
tofu-plantofu-apply