]>
git.immae.eu Git - perso/Immae/Config/Nix.git/blob - nixops/scripts/with_env
3 if [ -z "$NIXOPS_ENV_LOADED" ]; then
4 echo "Please load the environment with direnv"
9 TEMP
=$(mktemp -d /tmp/XXXXXX-nixops-files)
18 sops
-d secrets
/vars.yml
| yq
-r .ssl_keys.nix_repository
> $TEMP/id_ed25519
20 export SSH_IDENTITY_FILE
="$TEMP/id_ed25519"