1
0
Fork 0
server-configuration/README.md

795 B

OpenTofu server configuration

This is an experimental configuration for my Hetzner VPS using OpenTofu and Nix, based on NixOS/nixos-wiki-infra on Github.

How to use

Copy .env.example to .env and fill in the values.

To generate a token with Hetzner, go to the project and click Security -> API Tokens.

For cross-compiling, you will need to add a builder by visiting the following resources:

Run nix develop at the root of the project directory to access a shell where OpenTofu is accessible.

In the targets directory, go to the system and run the corresponding shell files to make modifications.