diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-03-09 17:54:52 +0000 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-03-09 17:54:52 +0000 |
commit | bfb6306994ecf2f880a52b57a8600246185bcac7 (patch) | |
tree | a75dd0dc92f4be453e454b36d2bb5088b0e12170 /build.sh | |
parent | Add ens19 to all hosts (diff) | |
download | Rory-Open-Architecture-bfb6306994ecf2f880a52b57a8600246185bcac7.tar.xz |
Add multithreading to rebuild
Diffstat (limited to '')
-rwxr-xr-x | build.sh | 2 |
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 |