From 367f7c1045f1a73b808ff958cebda51586ebe79d Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 12 Dec 2022 00:45:32 +0100 Subject: Switch on rebuild Signed-off-by: TheArcaneBrony --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') 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 -- cgit 1.4.1