atlas generation 7 kernel version 6.18.5 at 13:40:26 2026-01-16 rebuilding
This commit is contained in:
parent
5f21830b30
commit
7976b93145
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue