about summary refs log tree commit diff
path: root/rebuild/rebuild.sh
diff options
context:
space:
mode:
authorPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:14:08 +0200
committerPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:14:08 +0200
commit41547a2da4899168c280af1e0238f3911c5a375c (patch)
tree87456382666c7a59ddbbc39fea3e70b3759e1ac1 /rebuild/rebuild.sh
parent7f1f8bee58a00772877ded6d1c91bd8f195a07e6 (diff)
downloaddots-41547a2da4899168c280af1e0238f3911c5a375c.tar.gz
dots-41547a2da4899168c280af1e0238f3911c5a375c.zip
18 current 2024-09-29 18:07:04 24.05.20240928.fbca5e7 6.6.52 *
Diffstat (limited to 'rebuild/rebuild.sh')
-rwxr-xr-xrebuild/rebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuild/rebuild.sh b/rebuild/rebuild.sh
index 6e4bbca..8733f56 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 || exit 1 
+sudo nixos-rebuild switch --flake $DIR/flake.nix 2>&1 | tee nixos-switch.log || exit 2 
 
 # Get current generation metadata
 current=$(nixos-rebuild list-generations | grep current)