post-install

useradd -m -s /usr/bin/fish username
  • Set password
passwd username
  • Give sudo permission
EDITOR=nvim visudo
  • Go to "User privilege specification" and add
USER_NAME   ALL=(ALL) ALL
  • Logout of root and log in to user account
exit
  • or switch user
su stephenhuan
sudo pacman -S xdg-user-dirs
  • Create user directories
xdg-user-dirs-update
  • Install AUR helper paru
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
sudo makepkg -si
  • Get dotfiles with yadm
cd ~
pacman -S yadm
yadm clone https://github.com/stephen-huan/dotfiles
sudo pacman -S sddm
  • Enable display manager
sudo systemctl enable sddm.service
  • Install window manager (i3)
sudo pacman -S i3
sudo pacman -S alacritty
  • Enter graphical
sudo systemctl start sddm.service
  • If no terminal emulator, can get suck in i3!
  • Use ctrl+alt+F[1-6] to switch to virtual console
  • From virtual console back to graphical
sudo systemctl restart sddm.service