diff --git a/build.sh b/build.sh index b6672c9..ddd86a6 100755 --- a/build.sh +++ b/build.sh @@ -18,7 +18,7 @@ if [ "${ROOT}" = "/" ]; then [ -f "host/${CONFIG}/hooks/pre-rebuild.sh" ] && host/${CONFIG}/hooks/pre-rebuild.sh [ ! -f "hardware-configuration.nix" ] && nixos-generate-config --show-hardware-config > hardware-configuration.nix git add -f hardware-configuration.nix - nom build $DERIVATION $EXTRA_NIX_FLAGS && nixos-rebuild switch --flake .#${CONFIG} --upgrade-all $EXTRA_NIX_FLAGS --use-remote-sudo || exit 1 + nom build $DERIVATION $EXTRA_NIX_FLAGS && nixos-rebuild switch --flake .#${CONFIG} --upgrade-all $EXTRA_NIX_FLAGS --use-remote-sudo --fast || exit 1 #nixos-rebuild switch --flake ".#${CONFIG}" -j`nproc` --upgrade-all -L || exit 1 [ -f "host/${CONFIG}/hooks/post-rebuild.sh" ] && host/${CONFIG}/hooks/post-rebuild.sh git rm --cached hardware-configuration.nix @@ -31,4 +31,4 @@ else git rm --cached hardware-configuration.nix cp . "${ROOT}/Litenet-Nix-Infra" -r exit -fi \ No newline at end of file +fi diff --git a/flake.lock b/flake.lock index 57fb0ec..106a3e2 100644 Binary files a/flake.lock and b/flake.lock differ