From 8a50680b9ff53e1b96aa2381a04ff7b2ea447054 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Thu, 10 Apr 2025 14:01:07 +0200 Subject: [PATCH] document dev process --- launch/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/launch/README.md b/launch/README.md index a3c83086..94cea9eb 100644 --- a/launch/README.md +++ b/launch/README.md @@ -14,6 +14,10 @@ $ echo "{\"terraform-nixos\": $(nix-instantiate --eval --json -E '(import ../npi ```sh $ 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 ```