summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-09 17:54:52 +0000
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-03-09 17:54:52 +0000
commitbfb6306994ecf2f880a52b57a8600246185bcac7 (patch)
treea75dd0dc92f4be453e454b36d2bb5088b0e12170
parentAdd ens19 to all hosts (diff)
downloadRory-Open-Architecture-bfb6306994ecf2f880a52b57a8600246185bcac7.tar.xz
Add multithreading to rebuild
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
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