forked from fediversity/fediversity
seemingly gets further when a similar command is tried from terminal. as per https://github.com/NixOS/nix/issues/8752#issuecomment-1694714693, this may have to do with aligning the current working directory. |
||
|---|---|---|
| .. | ||
| .terraform | ||
| vm | ||
| .auto.tfvars.json | ||
| .envrc | ||
| .gitignore | ||
| .terraform.lock.hcl | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| garage.nix | ||
| main.tf | ||
| mastodon.nix | ||
| 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 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