The logging doesn't work, let's remove it

This commit is contained in:
Lillian Violet 2024-02-26 14:23:12 +01:00
parent e307bf4952
commit 0d03dc90a7

View file

@ -16,7 +16,7 @@ writeShellApplication
git clone forgejo@git.lillianviolet.dev:Lillian-Violet/NixOS-Config.git ./rebuild
pushd ./rebuild
echo "NixOS Rebuilding..."
sudo nixos-rebuild switch --flake .# &>nixos-switch.log || (cat nixos-switch.log | grep --color error && false)
sudo nixos-rebuild switch --flake .#
popd
echo "Cleaning up repository in tmp..."
rm -rf ./rebuild