132 current 2024-12-31 05:32:19 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2024-12-31 05:32:26 -05:00
parent 890c07370c
commit a35eed847f

View File

@@ -24,13 +24,13 @@ alejandra . &>/dev/null \
git --git-dir /home/synchronous/nix-cfg/.git --no-pager diff -U0
# '*.nix'
echo ""
echo "NixOS Rebuilding..."
# Rebuild, output simplified errors, log trackebacks
sudo nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log
cat /tmp/nixos-switch.log | grep --color error && exit 1
echo ""
echo "NixOS Rebuilding..."
# Get current generation metadata
current=$(nixos-rebuild list-generations | grep current)