From 74a6fc524b02b51f4c3a1422aaad2667256bf043 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 28 Nov 2026 13:06:05 -0600 Subject: add note to rebuild script reminding user to make their private key available at a configured sops keypath --- rebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rebuild b/rebuild index a9b63e3..44cbf2d 100755 --- a/rebuild +++ b/rebuild @@ -5,6 +5,8 @@ if [ ! -f ~/.config/sops/age/keys.txt ]; then echo "| WARNING: Sops key not found. Please generate one from your ssh key using the following command: |" echo "| nix run nixpkgs#ssh-to-age -- -private-key -i ~/.ssh/private > ~/.config/sops/age/keys.txt |" echo "| cat ~/.config/sops/age/keys.txt | age-keygen -y # Public key |" + echo "| IMPORTANT: Ensure your private key is available at a configured keypath for secret decryption: |" + echo "| sudo cp ~/.ssh/private /root/.ssh # When using an age key generated from your ssh key |" echo "---------------------------------------------------------------------------------------------------" fi nixos-rebuild switch --sudo --flake "$(dirname "$0")/#$(hostname)" $@ -- cgit v1.3.1