Common post-installation configuration for Arch Linux.
- Set up time synchronization.
- Enable pacman parallel downloads.
- Enable reflector to auto update pacman mirror list.
- Enable paccache to auto clean up pacman package cache.
- Enable Periodic TRIM for SSD.
- Enable native build and parallel compilation and
-O3
optimization when building AUR packages. - Set up snapper for root partition if using btrfs.
# Specify `reflector --country`
# https://man.archlinux.org/man/reflector.1#EXAMPLES
# Restrict pacman mirrors to selected countries. Countries may be given by name or country code, or a mix of both.
# Use `reflector --list-countries` get a list of available countries and country codes.
reflector_country: us,France,Germany
# Snapshot limits
# https://wiki.archlinux.org/title/Snapper#Set_snapshot_limits
# Default values given below
#snapper_root_hourly: 5
#snapper_root_daily: 7
#sanpper_root_weekly: 0
#snapper_root_monthly: 0
#snapper_root_yearly: 0