nix/modules/home-manager/scripts/common/bin/archupdate
2023-10-05 13:43:28 -05:00

7 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