Fix vconsole.conf error and add makeswap.

This commit is contained in:
0x221E
2026-02-10 17:43:38 +01:00
parent 82a2c8b333
commit dd93b6ca50

View File

@@ -18,6 +18,7 @@ echo -n "$LUKS_PASS" | cryptsetup open "${PART}3" roothome
mkfs.fat -F 32 "${PART}1"
mkfs.ext4 /dev/mapper/roothome
mkswap "${PART}2"
mount /dev/mapper/roothome /mnt
mkdir -p /mnt/boot
@@ -32,10 +33,11 @@ arch-chroot /mnt /bin/bash <<EOF
ln -sf /usr/share/zoneinfo/Area/Location /etc/localtime
hwclock --systohc
echo "$HOSTNAME" >> /etc/hostname
echo "KEYMAP=trq" >> /etc/vconsole.conf
pacman -S --noconfirm base-devel # base programs
pacman -S --noconfirm alsa-utils bluez bluez-utils bridge-utils networkmanager nvidia-open nvidia-utils pantum-universal-driver pavucontrol pipewire pipewire-alsa pipewire-jack pipewire-pulse polykit-gnome usbutils # drivers and its utils
pacman -S alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip # daily tools
pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip # daily tools
pacman -S --noconfirm ufw clamav # security