diff --git a/docs/setup.sh b/docs/setup.sh index c1992697..5e81e0cf 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -5,6 +5,8 @@ pushd /etc/nixos/git home-manager switch -b backup --flake /etc/nixos/git source ~/.bashrc +pause + # Import and trust the GPG key echo "Setting up user GPG key..... " drive=(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'}) @@ -15,6 +17,8 @@ gpg --import /tmp/drive/gpg/albert@sysctl.io/privkey.asc sudo rmdir /tmp/drive echo -e "5\ny\n" | gpg --command-fd 0 --expert --edit-key albert@sysctl.io trust +pause + # Setup SOPS echo "!!!!! Copy this key to .sops.yaml: " sudo ssh-to-pgp \