layout: default

title: Yasin's Arch Linux Install Guide 4 - Optimizing

Profile sync daemon + Browser

sudo pacman -S profile-sync-daemon
psd # Create config
nano ~/.config/psd/psd.conf # Enable browsers
systemctl --user start psd
systemctl --user enable psd

Move tmp to memory

echo 'tmpfs   /tmp   tmpfs   nodev,nosuid,size=5G 0 0' | sudo tee --append /etc/fstab
cat /etc/fstab
sudo mount -a
findmnt --target /tmp

Turn off SSD accesstime

sudo nano /etc/fstab
# change *time to noatime

Run makepkg in tmp

sudo nano /etc/makepkg.conf
# uncomment BUILDDIR=/tmp/makepkg


pikaur -S dnsmasq
sudo systemct start dnsmasq
sudo systemct enable dnsmasq
sudo systemct status dnsmasq
sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.original
# Copy to /etc/dnsmasq.conf
sudo systemct restart dnsmasq
sudo systemct status dnsmasq
sudo sed -i '1inameserver' /etc/hosts