changed env var for sops files

This commit is contained in:
Leyla Becker 2024-09-23 20:27:38 -05:00
parent 44aae0065d
commit bd7e575868
2 changed files with 17 additions and 16 deletions

View file

@ -47,8 +47,8 @@ cleanup() {
trap cleanup EXIT
# copy key file to temp folder to copy over to target
mkdir -p $temp$AGE_KEY_FILE_LOCATION
cp -r $AGE_KEY_FILE_LOCATION/* $temp$AGE_KEY_FILE_LOCATION
mkdir -p $temp$AGE_KEY_DIRECTORY
cp -r $AGE_KEY_DIRECTORY/* $temp$AGE_KEY_DIRECTORY
# commit number in this is because the main branch of nixos-anywhere is broken right now
nix run github:nix-community/nixos-anywhere/b3b6bfebba35d55fba485ceda588984dec74c54f -- --extra-files $temp --flake ".#$flake" ${user:-nixos}@$target