fix: cleanup

This commit is contained in:
ange 2025-02-17 09:58:59 +00:00
parent 3198c6c6cb
commit 92f562a03e
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
11 changed files with 23 additions and 23 deletions

View file

@ -24,7 +24,6 @@ mount "$root" /mnt/
cat <<EOF > /mnt/etc/fstab
UUID=$(blkid "$root" -ovalue -sUUID) / ext4 rw,relatime 0 1
UUID=$(blkid "$esp" -ovalue -sUUID) /efi vfat rw,fmask=0077,dmask=0077,noauto 0 2
EOF
[ -n "$swapfile" ] && {

View file

@ -12,7 +12,8 @@ esac
[ -d /sys/class/power_supply/BAT0 ] && echo tlp >> pkglist.txt
echo "$shell" >> pkglist.txt
pacstrap -C rootfs/etc/pacman.conf -K /mnt \
base linux{,-lts,-firmware} "$shell" efibootmgr sbctl - < pkglist.txt
base linux{,-lts,-firmware} efibootmgr sbctl - < pkglist.txt
find /mnt/etc/ -name '*.pacnew' -delete

View file

@ -17,6 +17,6 @@ sbctl enroll-keys
for l in arch{,-lts-fallback}; do
efibootmgr --create --unicode --label "$l" \
--disk "$boot" --part 1 --loader "\EFI\Linux\arch-linux$l.efi"
--disk "$boot" --part 1 --loader "\\EFI\\Linux\\arch-linux$l.efi"
done
echo "$options" > /etc/cmdline.d/root.conf

View file

@ -1,4 +0,0 @@
#!/bin/bash
#shellcheck disable=SC2154
systemctl enable --user podman.socket

View file

@ -8,8 +8,7 @@ printf '%s\n' \
bluez{,-utils} \
feh \
gammastep \
gvfs{,-gphoto2,-mtp} \
imagemagick \
imagemagick ghostscript \
materia-gtk-theme papirus-icon-theme \
monero \
mpv \
@ -19,9 +18,10 @@ printf '%s\n' \
pipewire{,-pulse,-jack} pavucontrol playerctl \
polkit-gnome \
qemu-{base,audio-pipewire,hw-usb-host,hw-display-virtio-{gpu,vga},ui-gtk} dnsmasq \
udisks2 \
xdg-user-dirs \
yt-dlp \
zathura{,-pdf-poppler} ghostscript \
zathura{,-pdf-poppler} \
zenity \
>> pkglist.txt

View file

@ -2,7 +2,6 @@
#shellcheck disable=SC2154
printf '%s\n' \
autorandr \
i3lock xss-lock \
picom \
xorg-{server,xinit,xrandr,xsetroot} xclip xdotool \