30 current 2025-04-29 03:04:20 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-04-29 03:04:25 -04:00
parent 297c7aee5d
commit 0385692efc

View File

@@ -34,8 +34,10 @@ git status --porcelain
echo ""
echo "NixOS Rebuilding..."
prev=$(basename $(readlink /run/current-system) | sed 's/.*nixos-system-\(.*\)-.*$/\1/')
# Rebuild, output simplified errors, log trackebacks
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix 2>&1 | tee /tmp/nixos-switch.log
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix#"$prev" 2>&1 | tee /tmp/nixos-switch.log
# cat /tmp/nixos-switch.log | grep --color error && exit 1