atlas generation 7 kernel version 6.18.5 at 13:40:26 2026-01-16 rebuilding

This commit is contained in:
morganmayday 2026-01-16 13:42:38 -08:00
parent 5f21830b30
commit 7976b93145

View file

@ -9,11 +9,11 @@ if [[ $* =~ u ]]; then
nix flake update
fi
git add . && git diff HEAD --minimal && git commit -am "$current rebuilding"
sudo nixos-rebuild switch --impure --flake $DOTFILES_DIR#$HOSTNAME # &>nixos-switch.log || (cat nixos-switch.log | grep --color error && exit 1)
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
sudo nixos-rebuild switch --impure --flake $DOTFILES_DIR#$HOSTNAME &> nixos-switch.log || (cat nixos-switch.log | grep --color error && exit 1) && notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
if [[ $* =~ p ]]; then
sync-dotfiles
fi
if [[ $* =~ r ]]; then
reboot
notify-send -e "NixOS Rebuild complete, rebooting in 30" && sleep 30
reboot
fi