From e520e7c6f2e1b2b427d8b3c9af303851f0f270df Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 26 May 2024 21:12:33 +0100 Subject: [PATCH] auto: bootstrapping sparky --- flake.lock | 8 ++++---- scripts/bootstrap.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index e2fee45..bf2510b 100644 --- a/flake.lock +++ b/flake.lock @@ -228,11 +228,11 @@ "nix-secrets": { "flake": false, "locked": { - "lastModified": 1716752717, - "narHash": "sha256-+y4Md2XbsFekQngnEAeW3vUuzsEu6c13gXGF66RHwKE=", + "lastModified": 1716754348, + "narHash": "sha256-t9kq50umsIS7wXytduwrXLlu1YFoUq0TxZve8ERQ2g8=", "ref": "refs/heads/master", - "rev": "69537cb3c35198fe3e7cff697f4458e64d710bf6", - "revCount": 55, + "rev": "61cc5cdf27cf8e940f324820232c35b72c80848b", + "revCount": 56, "type": "git", "url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git" }, diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 475e76a..2811a2e 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -67,7 +67,7 @@ echo -e "\nNeed to change ownership of temp directories, enter sudo password if cd "$HOME/nixos" git add . && git commit -m "auto: bootstrapping $hostname" && git push -nix run github:nix-community/nixos-anywhere -- --extra-files "$temp" --flake .#"$config" root@"$ip" -i "$HOME/.ssh/id_ed25519" +nix run github:nix-community/nixos-anywhere/242444d228636b1f0e89d3681f04a75254c29f66 -- --extra-files "$temp" --flake .#"$config" root@"$ip" -i "$HOME/.ssh/id_ed25519" [ $? != 0 ] && echo "Error installing Nixos" && exit 1 ## Delete keys from local known_hosts