Fediversity/launch
2025-04-06 11:24:56 +02:00
..
vm change ssh user to root 2025-04-05 15:35:23 +02:00
.envrc
.gitignore for now gitignore .auto.tfvars.json used to track TF module of nixos-anywhere 2025-04-05 15:35:23 +02:00
.terraform.lock.hcl
default.nix
garage.nix
main.tf update mastodon host 2025-04-05 16:03:01 +02:00
mastodon.nix
pass-ssh-key.sh
peertube.nix
pixelfed.nix
README.md
resource.nix add ssh key to not need root user 2025-04-06 11:24:56 +02:00
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