summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-12 00:45:32 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-12 00:45:32 +0100
commit367f7c1045f1a73b808ff958cebda51586ebe79d (patch)
tree746b2e9368e8b0be4171cedd8fb547a5e84f9f1d
parentAdd hw config to git temporarily for build (diff)
downloadRory-Open-Architecture-367f7c1045f1a73b808ff958cebda51586ebe79d.tar.xz
Switch on rebuild
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 2d01c32..a04888b 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ fi
 if [ "$1" = "/" ]; then
     nixos-generate-config --show-hardware-config > hardware-configuration.nix
     git add -f hardware-configuration.nix
-    nixos-rebuild --flake ".#${2}" build
+    nixos-rebuild switch --flake ".#${2}"
     git rm --cached hardware-configuration.nix
     exit
 else