From 94512abbfa50f9a2baaefe35f2305353955e8739 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 23 Sep 2023 21:34:07 +0900 Subject: [PATCH] test --- docs/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 \