feat: cleanup

This commit is contained in:
ange 2025-06-21 06:30:06 +00:00
parent 92f562a03e
commit 649806d52d
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
11 changed files with 212 additions and 64 deletions

View file

@ -7,10 +7,9 @@ case "$(lscpu)" in
*) ;;
esac
[ -s modules/chroot/flatpak.txt ] \
&& printf '%s\n' flatpak xdg-desktop-portal-gtk >> pkglist.txt
[ -d /sys/class/power_supply/BAT0 ] && echo tlp >> pkglist.txt
if [ -d /sys/class/power_supply/BAT0 ]; then
echo tlp >> pkglist.txt
fi
echo "$shell" >> pkglist.txt
pacstrap -C rootfs/etc/pacman.conf -K /mnt \