37 current 2025-04-30 01:30:33 25.05.20250424.f771eb4 6.12.24 *
This commit is contained in:
@@ -37,7 +37,7 @@ echo "NixOS Rebuilding..."
|
||||
prev=$(basename $(readlink /run/current-system) | sed 's/.*nixos-system-\(.*\)-.*$/\1/')
|
||||
|
||||
# Rebuild, output simplified errors, log trackebacks
|
||||
/run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix#"$prev" 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user