forked from fediversity/fediversity
| .. | ||
| vm | ||
| .envrc | ||
| .gitignore | ||
| .terraform.lock.hcl | ||
| default.nix | ||
| garage.nix | ||
| main.tf | ||
| mastodon.nix | ||
| module.auto.tfvars.json | ||
| pass-ssh-key.sh | ||
| peertube.nix | ||
| pixelfed.nix | ||
| README.md | ||
| resource.nix | ||
| shared.nix | ||
| shell.nix | ||
| tf-env.nix | ||
| tf.nix | ||
service deployment
usage
updating TF modules
$ npins update terraform-nixos
$ cd launch/
$ echo "{\"terraform-nixos\": $(nix-instantiate --eval --json -E '(import ../npins).terraform-nixos.outPath')}" > module.auto.tfvars.json
local development
$ nix-shell
$ rm -rf .terraform/
$ tofu init