Rebuild shouldn't report failing if the libnotify doesn't work

This commit is contained in:
Lillian Violet 2024-03-01 15:06:45 +01:00
parent 25ddebec3c
commit 456d7d1dfb

View file

@ -22,6 +22,6 @@ writeShellApplication
echo "Cleaning up repository in '/tmp/rebuild'..."
systemd-inhibit --what=idle rm -rf ./rebuild
popd > /dev/null
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available > /dev/null
'';
}