fixed password update command
This commit is contained in:
parent
bd7e575868
commit
4515bab713
3 changed files with 6 additions and 5 deletions
|
@ -47,8 +47,8 @@ cleanup() {
|
|||
trap cleanup EXIT
|
||||
|
||||
# copy key file to temp folder to copy over to target
|
||||
mkdir -p $temp$AGE_KEY_DIRECTORY
|
||||
cp -r $AGE_KEY_DIRECTORY/* $temp$AGE_KEY_DIRECTORY
|
||||
mkdir -p $temp$SOPS_AGE_KEY_DIRECTORY
|
||||
cp -r $SOPS_AGE_KEY_DIRECTORY/* $temp$SOPS_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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue