diff options
author | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 18:13:42 +0200 |
---|---|---|
committer | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 18:13:42 +0200 |
commit | 7f1f8bee58a00772877ded6d1c91bd8f195a07e6 (patch) | |
tree | 505aae2381c84ee64ed0b8bf2aa699dd6e238777 | |
parent | 98d95851f87fe31fb073b1e91954f7b536e737da (diff) | |
download | dots-7f1f8bee58a00772877ded6d1c91bd8f195a07e6.tar.gz dots-7f1f8bee58a00772877ded6d1c91bd8f195a07e6.zip |
18 current 2024-09-29 18:07:04 24.05.20240928.fbca5e7 6.6.52 *
-rwxr-xr-x | rebuild/rebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuild/rebuild.sh b/rebuild/rebuild.sh index 9738dd3..6e4bbca 100755 --- a/rebuild/rebuild.sh +++ b/rebuild/rebuild.sh @@ -34,7 +34,7 @@ git diff -U0 '*' echo "NixOS Rebuilding..." # Rebuild, output simplified errors, log trackebacks -sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log +sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log || exit 1 # Get current generation metadata current=$(nixos-rebuild list-generations | grep current) |