Blog Recipes Links

My Arch Linux install

This article is a guide for myself: I spent hours writing bash scripts to install Arch Linux on my machine from scratch. There is room for improvement but right now I'm happy with this setup.

Getting started

Create a Arch Linux Installer USB drive:

bash
# Download the ISO
curl -L "https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso" -O

# Format and copy the iso on the thumb drive
wipefs --all /dev/sdx
cp ./archlinux-x86_64.iso /dev/sdx

reboot

Once Arch Linux is booted:

bash
# Boot a Arch Linux live USB then run the command:
mkdir scripts
cd scripts

export SSID="your-ssid"
export WIFI_PASSPHRASE="your-wifi-passphrase"
iwctl station wlan0 connect "$SSID" --passphrase "$WIFI_PASSPHRASE"
curl -L https://mcdostone.github.io/install-arch-linux | bash

# Configure the environment variables
cat .env

# And install Arch Linux
bash init.sh

Partitionning

I use ext4 as a file system. Maybe there are better solutions these days. I allocate 1GB for the boot partition to test custom linux kernels.

/dev/sda1
1GBBoot
/dev/sda2
4GBSwap
/dev/sda3
114GBRoot

Terminal and Shell

I have a preference for fish Shell, the autosuggestion feature is the only reason I chose it. I use Gnome terminal.

Desktop environment

I use Gnome 44 with a bunch of extensions. The theme is Colloid-gtk, the icons pack is WhiteSur-icon.

ExtensionDescription
user-theme@gnome-shell-extensions.gcampax.github.comShould be in GNOME
just-perfection-desktop@just-perfectionAdd blur in GNOME shell
search-light@icedman.github.comTake the apps search out of overview
rounded-window-corners@yiloztAdd rounded corners for all windows
nightthemeswitcher@romainvigier.frToggle between light and dark theme automatically
blur-my-shell@aunetxAdd blur in GNOME shell
dash-to-dock@micxgx.gmail.comA dock for the Gnome Shell
noannoyance@daase.netRemove the 'Window is ready' notification
remove-alt-tab-delay@daase.netRemove the 0.15 second popup delay in switcher pop-ups
windowIsReady_Remover@nunofarruca@gmail.comRemoves window is ready Notification

Applications

Most of the applications below are installed with flatpak.

Screenshots

Next step is to compile the Linux Kernel with a configuration dedicated to my laptop.