reinstall arch v4

here at it again

SEAN K.H. LIAO

reinstall arch v4

here at it again

install

  1. setup disks, network, and base install from livecd, refer to eg yesterday.
  2. Prepare network stuff
    1. echo "[Match]\nName=wlan\*\n\n[Network]\nDHCP=yes" > /etc/systemd/network/90-wlan.conf
    2. echo 'eevee' > /etc/hostname
  3. systemctl enable systemd-{networkd,resolved,homed} iwd
  4. reboot into new system
  5. Network stuff
    1. iwctl station wlan0 connect XXX
  6. locale stuff
    1. sed -i 's/#en_US.UTF-8/en_US.UTF-8/' /etc/locale.gen
    2. locale-gen
    3. localectl set-locale LANG=en_US.UTF-8
  7. time stuff
    1. timedatectl set-ntp true
    2. timedatectl set-timezone Europe/Amsterdam
    3. timedatectl set-local-rtc false
  8. user stuff
    1. useradd sudo
    2. echo '%sudo ALL=(ALL) ALL' > /etc/sudoers.d/sudo
    3. homectl create arccy --shell=/bin/zsh --storage=subvolume -G adm,sudo
  9. auth stuff
    1. /etc/pam.d/system-auth: add nodelay to pam_unix.so to skip the delays on wrong passwords
    2. /etc/pam.d/system-auth: add auth sufficient pam_u2f.so cue origin=pam://eevee appid=pam://eevee for 1fa yubikey authentication
  10. setup pacman
    1. pacman-key --init
    2. pacman-key --populate archlinux
    3. uncomment options in /etc/pacman.conf: UseSyslog Color TotalDownload VerbosePkgLists and testing repos
  11. get prebuild yay
    1. curl -L https://github.com/Jguer/yay/releases/download/v10.1.0/yay_10.1.0_x86_64.tar.gz | tar xzv
    2. ./yay -Syu yay
  12. install stuff
  13. enable more stuff
  14. other