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:35:37 +0200
committerPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:35:37 +0200
commitc4d8fa4a27d15f612043317a2a17837a841b0f41 (patch)
tree76c534758305c99b96d050127796ac1e9b8e3c50 /rebuild/rebuild.sh
parentb428821c019ed9e1ea7535f55baf536c716558ea (diff)
downloaddots-c4d8fa4a27d15f612043317a2a17837a841b0f41.tar.gz
dots-c4d8fa4a27d15f612043317a2a17837a841b0f41.zip
t14: 23 current 2024-09-29 18:35:34 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 dfbb7c3..daa190e 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 2>&1 | tee nixos-switch.log || exit 2 
+(sudo nixos-rebuild switch --flake $DIR 2>&1 | tee nixos-switch.log) || exit 2 
 
 # Get current generation metadata
 current=$(nixos-rebuild list-generations | grep current)