diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-11-28 14:52:48 -0600 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-11-28 14:52:48 -0600 |
| commit | ac1d35803c2fa2196358de7be5bc21712f2fa8a5 (patch) | |
| tree | 9d31502a37ea1c295c805efc6597b1fe342a81b8 /rebuild | |
| parent | 35a3b814101ec8bcc0478863a25a46e293d12411 (diff) | |
| parent | 74a6fc524b02b51f4c3a1422aaad2667256bf043 (diff) | |
| download | nixos-ac1d35803c2fa2196358de7be5bc21712f2fa8a5.tar.xz nixos-ac1d35803c2fa2196358de7be5bc21712f2fa8a5.zip | |
Diffstat (limited to 'rebuild')
| -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)" $@ |
