nix/scripts/bin/archupdate
2023-09-05 15:15:43 -05:00

6 lines
205 B
Bash
Executable file

#!/usr/bin/env bash
yay -Syu --nodiffmenu --nocleanmenu --noeditmenu
# TODO: update kernel with a flag?
# yes | pacman -Syu && kexec -l --initrd=/boot/initramfs-linux.img /boot/vmlinuz-linux && kexec -e