Make clearing up output more in line with git output

This commit is contained in:
Lillian Violet 2024-02-29 15:06:27 +01:00
parent f982d225e5
commit 9baf41431d
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ writeShellApplication
echo "NixOS Installing..." echo "NixOS Installing..."
sudo nixos-install --flake .#"''${dir}" sudo nixos-install --flake .#"''${dir}"
popd > /dev/null popd > /dev/null
echo "Cleaning up repository in tmp..." echo "Cleaning up repository in '/tmp/install-nix'..."
rm -rf ./install-nix rm -rf ./install-nix
popd > /dev/null popd > /dev/null
notify-send -e "NixOS Install Succeeded!" --icon=software-update-available notify-send -e "NixOS Install Succeeded!" --icon=software-update-available

View file

@ -19,7 +19,7 @@ writeShellApplication
echo "NixOS Rebuilding..." echo "NixOS Rebuilding..."
sudo nixos-rebuild switch --flake .# sudo nixos-rebuild switch --flake .#
popd > /dev/null popd > /dev/null
echo "Cleaning up repository in /tmp..." echo "Cleaning up repository in '/tmp/rebuild'..."
rm -rf ./rebuild rm -rf ./rebuild
popd > /dev/null popd > /dev/null
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available