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 :
iwctl
device list
station wlan0 get-networks
(it's wlan0 in my case)station wlan0 connect "xxx"
ip a
ping 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
reboot
cd ~
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
BottomUp
andNewsOnUpgrade
in/etc/paru.conf
- reboot
cd ~/arch-install-scripts
paru -S --needed - < pkglist.txt
su -
touch /etc/sysctl.d/99-swappiness.conf
echo "vm.swappiness=1" >> /etc/sysctl.d/99-swappiness.conf
- edit
/etc/locale.gen
and uncommenten_IN
anden_US
(default by archinstall) UTF-8 - delete
subvolid
from/etc/fstab
- DRM Kernel Mode Setting
sudo vim /etc/modprobe.d/nvidia_drm.conf
options nvidia_drm modeset=1
- Gnome Keyring
shutdown -h now
- if using
vscode
then, configure runtime argumentspassword-store
asgnome
disable-hardware-acceleration
astrue
- if using
gh auth login
to authenticate with GitHub after checkinglogin
keyring inseahorse
:Copilot signin
for neovim copilot
- setup snapper
- postgreSQL setup
sudo pacman -S postgresql
sudo -iu postgres
initdb -D /var/lib/postgres/data
exit
sudo chattr +C /var/lib/postgres/data
sudo systemctl enable --now postgresql
sudo -iu postgres
createuser --interactive
createdb $USER
exit
- pgadmin4