From 6aa5640c1bd2a53cb25db1a14dc4187c52f21d19 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 3 Apr 2023 18:47:02 +0200 Subject: Clarify boot message --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 901d857..da5872f 100755 --- a/build.sh +++ b/build.sh @@ -15,8 +15,12 @@ if [ "$1" = "/" ]; then else nixos-generate-config --show-hardware-config --root "${1}" > hardware-configuration.nix git add -f hardware-configuration.nix + if [ -f "flake.lock" ]; then + git add -f flake.lock + fi nixos-install --root "${1}" --flake ".#${2}" git rm --cached hardware-configuration.nix + git rm --cached flake.lock cp . "${1}/Spacebar-Open-Architecture" -r exit fi -- cgit 1.4.1