summary refs log tree commit diff
diff options
context:
space:
mode:
-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