diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-12 00:45:32 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-12-12 00:45:32 +0100 |
commit | 367f7c1045f1a73b808ff958cebda51586ebe79d (patch) | |
tree | 746b2e9368e8b0be4171cedd8fb547a5e84f9f1d | |
parent | Add hw config to git temporarily for build (diff) | |
download | Rory-Open-Architecture-367f7c1045f1a73b808ff958cebda51586ebe79d.tar.xz |
Switch on rebuild
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-rwxr-xr-x | build.sh | 2 |
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 |