Install Arch

machine:

x1 carbon, 7th gen

Bootloader

I need to dual boot with Windows using UEFI and using a GPT partition system. The ESP (EFI System Partition) already existed so I used it for booting linux as well.

I used GRUB for the bootloader as it seems to have to most functionality.

Packages

Install the following with pacstrap:

  • base

  • base-devel: gcc, etc

  • intel-ucode: microcode - stability and security updates for the processor

  • iwd

  • sudo

  • ansible

  • git

Wifi

Package:

iwd

iwd configuration: /etc/iwd/main.conf

[General]
EnableNetworkConfiguration=true

[Network]
# EnableIPv6=true
NameResolvingService=systemd

DNS resoution: /etc/resolv.conf

nameserver 8.8.8.8

Enable at boot (and start):

systemctl enable --now iwd

Users and Access Control

useradd -m mandark
passwd mandark
usermod -aG wheel mandark

Uncomment permissions for wheel using EDITOR=vim visudo.

Lock login for root user:

passwd -l root

Display

packages:

xorg xorg-xinit xmonad xmonad-contrib

cat 'exec xmonad' >> ~/.xinitrc

Starting x server will run xmonads:

startx

SSH

  • openssh

Generate key:

ssh-keygen -t rsa -C "mandark"

References