1
0
Fork 0
Fediversity/launch
Kiara Grouwstra b26fbec7f8
for now gitignore .auto.tfvars.json used to track TF module of nixos-anywhere
in case we want that file for something else, we can move this (and its
ignore) to something separate.
2025-03-30 12:48:53 +02:00
..
vm get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes 2025-03-28 21:14:16 +01:00
.envrc tf 2025-03-28 21:14:16 +01:00
.gitignore for now gitignore .auto.tfvars.json used to track TF module of nixos-anywhere 2025-03-30 12:48:53 +02:00
.terraform.lock.hcl switch launch shell to root flake's nixpkgs, see 2025-03-28 21:14:16 +01:00
default.nix switch launch shell to root flake's nixpkgs, see 2025-03-28 21:14:16 +01:00
garage.nix get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes 2025-03-28 21:14:16 +01:00
main.tf use flake-sourced nixos-anywhere in tf, to reproduce modules for nix 2025-03-28 21:14:16 +01:00
mastodon.nix get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes 2025-03-28 21:14:16 +01:00
pass-ssh-key.sh tf 2025-03-28 21:14:16 +01:00
peertube.nix get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes 2025-03-28 21:14:16 +01:00
pixelfed.nix get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes 2025-03-28 21:14:16 +01:00
README.md document updating TF module 2025-03-28 21:14:16 +01:00
resource.nix tf 2025-03-28 21:14:16 +01:00
shared.nix get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes 2025-03-28 21:14:16 +01:00
shell.nix tf 2025-03-28 21:14:16 +01:00
tf-env.nix untrack TF generated provider/module stuff - local dev now requires following launch/README.md 2025-03-30 12:45:24 +02:00
tf.nix tf 2025-03-28 21:14:16 +01:00

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