320 current 2025-02-09 04:14:04 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user