From bfb6306994ecf2f880a52b57a8600246185bcac7 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 9 Mar 2023 17:54:52 +0000 Subject: Add multithreading to rebuild --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5efc800..0a825b5 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 switch --flake ".#${2}" + nixos-rebuild switch --flake ".#${2}" -j`nproc` git rm --cached hardware-configuration.nix exit else -- cgit 1.4.1