diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-11-28 13:06:05 -0600 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-11-28 13:06:05 -0600 |
| commit | 74a6fc524b02b51f4c3a1422aaad2667256bf043 (patch) | |
| tree | c1c86a1d185754734441192908dd058c3694e77b | |
| parent | 810a079dac3a5b58af97c27669d7c15332b16878 (diff) | |
| download | nixos-74a6fc524b02b51f4c3a1422aaad2667256bf043.tar.xz nixos-74a6fc524b02b51f4c3a1422aaad2667256bf043.zip | |
add note to rebuild script reminding user to make their private key available at a configured sops keypathHEADmaster
| -rwxr-xr-x | rebuild | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)" $@ |
