cpu-fix #20

Merged
Mic92 merged 4 commits from cpu-fix into main 2023-07-19 13:28:43 +00:00
2 changed files with 2 additions and 7 deletions
Showing only changes of commit 39ee5d7f4e - Show all commits

View File

@ -3,12 +3,7 @@
set -euox pipefail
if [ $# -ne 1 ]; then
echo "Usage: $0 <host>"
exit 1
fi
HOST=$1
HOST=clan.lol
temp=$(mktemp -d)
trap 'rm -rf $temp' EXIT
sops --extract '["cryptsetup_key"]' -d secrets.yaml > "$temp/secret.key"

View File

@ -4,7 +4,7 @@
set -euo pipefail
path=$(nix flake metadata --json '.#' | jq -r .path)
ip=65.109.103.5
ip=clan.lol
rsync --checksum -vaF --delete -e ssh "${path}/" "root@${ip}:/etc/nixos"
ssh "root@$ip" nixos-rebuild switch \