Here are the sources for our deployment at adrestia.iohkdev.io.
Ensure that you have Nix >= v2.6.0.
Either use nix develop
to get an infra shell, or enable nix-direnv
.
The deployment keys are fetched from our shared folder in
Vaultwarden using the bw
CLI.
Run bw login
then save the BW_SESSION=...
value into .state/session.env
.
Test that credential fetching is working with:
$ ./scripts/fetch.sh adrestia_test
It works!
Run update-nixops
to set up the nixops database and install necessary AWS
credentials.