diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-22 15:11:39 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-22 15:11:39 -0500 |
| commit | 671ba3d42f6c9017fc57876f3c26d22227b1ffef (patch) | |
| tree | 1801d2944cffd4d575855203b3707707fb0776f4 /rebuild | |
| parent | 5585329eb48316b34f12a2b94c0cebf65e47398b (diff) | |
| download | nixos-671ba3d42f6c9017fc57876f3c26d22227b1ffef.tar.xz nixos-671ba3d42f6c9017fc57876f3c26d22227b1ffef.zip | |
add wireguard support for remote backup pc and enhance rebuild script to show pubkey gen cmdHEADmaster
Diffstat (limited to 'rebuild')
| -rwxr-xr-x | rebuild | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ if [ ! -f ~/.config/sops/age/keys.txt ]; then echo "---------------------------------------------------------------------------------------------------" 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 "---------------------------------------------------------------------------------------------------" fi nixos-rebuild switch --sudo --flake "$(dirname "$0")/#$(hostname)" $@ |
