forked from Fediversity/Fediversity
30 lines
570 B
Markdown
30 lines
570 B
Markdown
# service deployment
|
|
|
|
deploys [NixOS](https://nixos.org/) templates using [OpenTofu](https://opentofu.org/).
|
|
|
|
## requirements
|
|
|
|
- [nix](https://nix.dev/)
|
|
|
|
## usage
|
|
|
|
### development
|
|
|
|
before using other commands, if not using direnv:
|
|
|
|
```sh
|
|
nix-shell
|
|
```
|
|
|
|
then to initialize, or after updating pins or TF providers:
|
|
|
|
```sh
|
|
setup
|
|
```
|
|
|
|
then, one can use the `tofu` CLI in the sub-folders.
|
|
|
|
## implementing
|
|
|
|
proper documentation TODO.
|
|
until then, a reference implementation may be found in [`panel/`](https://git.fediversity.eu/Fediversity/Fediversity/src/branch/main/panel).
|