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