diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-03-28 14:31:17 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-03-28 14:31:17 -0500 |
| commit | 63c261391ea77f2d940997a7c403a7426b90ab02 (patch) | |
| tree | 4eb6a2093d6b865fc213658cdfa9150291e689d6 /rebuild | |
| parent | fba387bf6ed132ad7e3b0bdb35617dbc20357c61 (diff) | |
| parent | 0538c0398cbf338ad1261b1f58a01d3aaed94d50 (diff) | |
| download | nixos-63c261391ea77f2d940997a7c403a7426b90ab02.tar.xz nixos-63c261391ea77f2d940997a7c403a7426b90ab02.zip | |
Merge branch 'master' of 192.168.77.8:nixos
Diffstat (limited to 'rebuild')
| -rwxr-xr-x | rebuild | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,2 +1,9 @@ #!/bin/sh +if [ ! -f ~/.config/sops/age/keys.txt ]; then + mkdir -p ~/.config/sops/age + 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 "---------------------------------------------------------------------------------------------------" +fi nixos-rebuild switch --sudo --flake "$(dirname "$0")/#$(hostname)" $@ |
