From 5ca4257dd8431014df9a566ac9033060918169ed Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 26 Mar 2023 01:45:21 +0000 Subject: Update synapse --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 7542303..b89de4b 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ if [ "$1" = "/" ]; then [ -f "host/${2}/pre-rebuild.sh" ] && host/$2/pre-rebuild.sh nixos-generate-config --show-hardware-config > hardware-configuration.nix git add -f hardware-configuration.nix - nixos-rebuild switch --flake ".#${2}" -j`nproc` --upgrade-all + nixos-rebuild switch --flake ".#${2}" -j`nproc` --upgrade-all || exit 1 [ -f "host/${2}/post-rebuild.sh" ] && host/$2/post-rebuild.sh git rm --cached hardware-configuration.nix exit -- cgit 1.4.1