320 current 2025-02-09 04:14:04 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-02-09 04:14:17 -05:00
parent b0244cc434
commit 6f4a9f4bf8
2 changed files with 4 additions and 3 deletions

View File

@@ -35,7 +35,8 @@ echo ""
echo "NixOS Rebuilding..."
# Rebuild, output simplified errors, log trackebacks
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix 2>&1 | tee /tmp/nixos-switch.log
# cat /tmp/nixos-switch.log | grep --color error && exit 1
if grep --color error /tmp/nixos-switch.log; then