This is how I set up my Arch Linux system using archinstall script.
Note: I use Arch BTW 🗿
- check main branch if don't want to use archinstall script
I usually set bigger font with setfont ter-132n & connect to WiFi :
iwctldevice liststation wlan0 get-networks(it's wlan0 in my case)station wlan0 connect "xxx"ip aping www.archlinux.org
connecting with Ethernet or mobile USB tethering is enabled by default
timedatectl set-ntp true, check withtimedatectl status
- in
/etc/pacman.conf- uncomment ParallelDownloads
- add ILoveCandy
- enable multilib repository
pacman -Syy
pacman -S archinstall neovim archlinux-keyring
archinstall # with btrfs, qtile
rebootcd ~
git clone https://github.com/alokshandilya/arch-install-scripts.git
cd arch-install-scripts
./0-arch-install-script.sh # run in parts after checking in neovim term- switch to qtile (wayland)
- edit /usr/share/wayland-sessions/qtile-wayland.desktop
Exec=/home/aloks/.local/bin/./wayland-start.sh
- edit /etc/mkinitcpio.conf
MODULES=(btrfs crc32c-intel intel_agp i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm)HOOKS=(.... encrypt filesystems fsck)(if using encryption)
mkinitcpio -P- edit /etc/makepkg.conf to reduce compression time while building AURs
COMPRESSZST=(zstd -c -T0 --auto-threads=logical --adapt --exclude-compressed -)
- uncomment
BottomUpandNewsOnUpgradein/etc/paru.conf - reboot
cd ~/arch-install-scripts
paru -S --needed - < pkglist.txtsu -
touch /etc/sysctl.d/99-swappiness.conf
echo "vm.swappiness=1" >> /etc/sysctl.d/99-swappiness.conf- edit
/etc/locale.genand uncommenten_INanden_US(default by archinstall) UTF-8 - delete
subvolidfrom/etc/fstab - DRM Kernel Mode Setting
sudo vim /etc/modprobe.d/nvidia_drm.confoptions nvidia_drm modeset=1
- Gnome Keyring
shutdown -h now- if using
vscodethen, configure runtime argumentspassword-storeasgnomedisable-hardware-accelerationastrue
- if using
gh auth loginto authenticate with GitHub after checkingloginkeyring inseahorse:Copilot signinfor neovim copilot
- setup snapper
- postgreSQL setup
sudo pacman -S postgresqlsudo -iu postgresinitdb -D /var/lib/postgres/dataexitsudo chattr +C /var/lib/postgres/datasudo systemctl enable --now postgresqlsudo -iu postgrescreateuser --interactivecreatedb $USERexit- pgadmin4