arch install
written 2025-04-19 21:24, edited 2025-05-10 16:09this is a quick and dirty installation checklist that doesn't include disk encryption because i tried to follow the wiki and fucked up so bad. i'm just distrohopping until debian 13 goes stable, and i'm pretty sure like, a week after i did this, debian testing's sway packages caught up. oh well.
with installation media
- iwctl:
station wlan0 connect SSID-name
timedatectl
cfdisk /dev/nvme0n1
- /dev/nvme0n1p1: 1G
- /dev/nvme0n1p2: 4G
- /dev/nvme0n1p3: remainder
- format
mkfs.ext4 /dev/nvme0n1p3
mkfs.fat -F 32 /dev/nvme0n1p1
mkswap /dev/nvme0n1p2
- mount
mount /dev/nvme0n1p3 /mnt
mount --mkdir /dev/nvme0n1p1 /mnt/boot
swapon /dev/nvme0n1p2
- pacstrap
pacstrap -K /mnt base base-devel linux linux-firmware sof-firmware efibootmgr networkmanager grub neovim sudo zsh bash man-db man-pages texinfo
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/US/New_York /etc/localtime
hwclock --systohc
- Uncomment
en_US.UTF-8 UTF-8
in /etc/locale.gen. Runlocale-gen
. echo "LANG=en_US.UTF08" > /etc/locale.conf
echo "thinkpad" > /etc/hostnme
mkinitcpio -P
passwd
for rootgrub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
- Reboot.
as root
echo "export ZDOTDIR=~/.config/zsh" >> /etc/zsh/zshenv
useradd -m -G wheel -s /bin/zsh spica
EDITOR=nvim visudo
and uncomment%wheel ALL=(ALL) ALL
packages as user
- for development: git, curl, sed
- dotfiles: stow
- desktop: sway, wayland, swaybg, swayidle, swaylock, bemenu, pipewire, wireplumber, ttf-font-iosevka-nerd, noto-fonts-cjk, noto-fonts-emoji, mako
- firefox
- pass, gnupg, openssh
yay and AUR
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si