# Check if you have wifi
ip addr show
# Connect to your wifi network
iwctl
device list
station <device> scan
station <device> get-networks
station <device> connect <SSID>
# Check for wifi connection
ping archlinux.org
# Change keyboard layout
loadkeys <your keyboard layout>
# Make downloading packages faster
reflector --latest 10 --sort rate --protocol https --save /etc/pacman.d/mirrorlist
# Enable some stuff in the pacman config to make downloads faster
sudo nano /etc/pacman.conf
# Uncomment this line
ParalellDownloads = 5
# Check which disks are plugged in
lsblk
# Open the partition tool
cfdisk
Make tree partitions
512MB
boot partion16GB
swap partition- The rest is your root partiton
# Use this command to keep you track of everything
lsblk
# Formatting the boot partition
mkfs.fat -F 32 -n ARCHBOOT </dev/sda1>
# Formatting the swap partition
mkswap -L archswap </dev/sda2>
# Formatting the root partition
mkfs.ext4 -L archroot </dev/sda3>
# Mounting the root partition
mount /dev/disk/by-label/archroot /mnt
# Mounting the boot partition
mkdir -p /mnt/boot/efi
mount /dev/disk/by-label/ARCHBOOT /mnt/boot/efi
# Turning on the swap partition
swapon /dev/disk/by-label/archswap
# Use this command to check if everything is ok
lsblk
# Installing the packages
pacstrap /mnt base linux-zen linux-firmware sof-firmware base-devel grub efibootmgr micro git networkmanager
# Run this command to check if everything is correct
genfstab -L /mnt # I needed to run this command again: mount /dev/disk/by-label/ARCHBOOT /mnt/boot/efi
# Write the output to /mnt/etc/fstab
genfstab -L /mnt >> /mnt/etc/fstab
cat /mnt/etc/fstab # Use this command to check if it writed the output
# Change root into the new system
arch-chroot /mnt
# Set the time zone
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
date # Use this command to check if the time is correct
# Synchronize the system clock
hwclock --systohc
# Adding the needed locales
micro /etc/locale.gen
Uncomment
en_US.UTF-8 UTF-8
en_US ISO-8859-1
nl_BE.UTF-8 UTF-8
nl_BE ISO-8859-15
nl_BE@euro ISO-8859-15
# Generate locales
locale-gen
# Set the right locales
cat << EOF >> /etc/profile
#locale settings
export LANG=en_US.UTF-8
#export LANGUAGE="en_US:en"
export LC_MESSAGES="en_US.UTF-8"
export LC_CTYPE="nl_BE@euro"
export LC_COLLATE="nl_BE@euro"
export LC_TIME="nl_BE"
export LC_NUMERIC="nl_BE"
export LC_MONETARY="nl_BE@euro"
export LC_PAPER="nl_BE"
export LC_TELEPHONE="nl_BE"
export LC_ADDRESS="nl_BE"
export LC_MEASUREMENT="nl_BE"
export LC_NAME="nl_BE"
EOF
cat > /etc/locale.conf << EOF
#locale settings
LANG=en_US.UTF-8
#export LANGUAGE="en_US:en"
LC_MESSAGES="en_US.UTF-8"
LC_CTYPE="nl_BE@euro"
LC_COLLATE="nl_BE@euro"
LC_TIME="nl_BE"
LC_NUMERIC="nl_BE"
LC_MONETARY="nl_BE@euro"
LC_PAPER="nl_BE"
LC_TELEPHONE="nl_BE"
LC_ADDRESS="nl_BE"
LC_MEASUREMENT="nl_BE"
LC_NAME="nl_BE"
EOF
# Defining the hostname
echo "<hostname>" > /etc/hostname
# Setting the root password
passwd root
# Making user account
useradd -m -G wheel -s /bin/bash <name>
# Setting password for the new user
passwd <name>
# Making the user a root user
sed -i 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/g' /etc/sudoers
# Enabeling the NetworkManger service
systemctl enable NetworkManager
# Installing grub
grub-install
# Configuring grub
grub-mkconfig -o /boot/grub/grub.cfg #OS-prober
# Editing hook (changing autodetect to block)
sed -i 's/HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck)/HOOKS=(base udev block modconf kms keyboard keymap consolefont autodetect filesystems fsck)/g' /etc/mkinitcpio.conf
# Regenerate the images
mkinitcpio -p linux-zen
# Changing to user account
su <user>
# Making directory
mkdir ~/archbox
# Changing directory
cd ~/archbox
# Cloning the theme
git clone https://github.com/Sitolam/hyprdots
cd hyprdots/Scripts
# Installing the theme
./install.sh -drs custom_apps.lst
# Installing flatpaks
./.extra/install_fpk.sh # --no-confirm