Fediversity/launch
2025-04-13 21:42:46 +02:00
..
.envrc
.gitignore in-source tf deployment logic 2025-04-13 21:14:33 +02:00
.terraform.lock.hcl
default.nix in-source tf deployment logic 2025-04-13 21:14:33 +02:00
garage.nix merge tf modules 2025-04-13 13:11:04 +02:00
main.tf update peertube vm 2025-04-13 21:42:46 +02:00
mastodon.nix
options.nix special_args -> nix_path + module 2025-04-13 13:16:57 +02:00
pass-ssh-key.sh
peertube.nix
pixelfed.nix
README.md in-source tf deployment logic 2025-04-13 21:14:33 +02:00
resource.nix
shared.nix ditch hermetic to simplify - still gets infinite recursion 2025-04-13 13:36:04 +02:00
shell.nix
tf-env.nix in-source tf deployment logic 2025-04-13 21:14:33 +02:00
tf.nix

service deployment

usage

<-- TODO: port to just -->

updating npins

$ cd launch/
$ echo "$(nix eval --json -f ../npins)" > .npins.json

local development

$ nix-shell
$ eval "$(ssh-agent -s)"
# set your ssh key, e.g.:
$ ssh_key="$(readlink -f ~/.ssh/id_ed25519)"
$ echo "{\"ssh_private_key_file\": \"${ssh_key}\", \"deploy_environment\": {\"SSH_AUTH_SOCK\": \"${SSH_AUTH_SOCK}\"}}" > .auto.tfvars.json
$ rm -rf .terraform/
$ tofu init