User Setup - cephi-sui/dotfiles GitHub Wiki

Primary User Configuration

Configure the primary user.

useradd -m <username>
passwd <username>

Add user to sudoers, either through adding the user or uncommenting the wheel/sudo group lines and then adding the user to the group.

pacman -Syu sudo
EDITOR=vim visudo

Before starting this section, log in as a non-root user.

Git Configuration

sudo pacman -Syu git
git config --global init.defaultBranch main
git config --global pull.rebase true
git config --global user.name <username>
git config --global user.email <email>

User Configuration

sudo pacman -Syu stow
git clone https://github.com/cephi-sui/dotfiles ~/.files
cd !$
mkdir ~/.config
stow .

System/CLI Application Installation

cd ~/.files/install
./install_cli.sh
sudo pacman -Syu pacman-contrib base-devel man-db man-pages texinfo wget curl unzip openssh btop htop nvtop speedtest-cli

AUR and mkinitcpio Setup

This section could go in the System Setup section, but rustup and paru install on a per-user basis.

AUR Helper (paru)

AUR helpers are not recommended, but are nice to have.
yay is the most popular and known-to-work. But paru is written in Rust.

cd ~/.files/git
git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin
makepkg -si

mkinitcpio Firmware

Install firmware for mkinitcpio so it stops reporting warnings.

paru -S mkinitcpio-firmware
⚠️ **GitHub.com Fallback** ⚠️