System Setup - cephi-sui/dotfiles GitHub Wiki
Enable firewall and networking.
systemctl enable --now firewalld NetworkManager systemd-resolvedAllow systemd-resolved to manage DNS resolution instead of NetworkManager.
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.confIf desired, connect to Wi-Fi.
<network>and<password>are dependent on the desired network.
nmcli d wifi list
nmcli d wifi connect <network> password <password>systemctl enable --now systemd-timesyncdsystemctl enable --now systemd-oomdsystemctl enable fstrim.timerRefresh pacman mirrors on a weekly basis.
pacman -Syu reflector && systemctl enable reflector.timerEdit /etc/xdg/reflector/reflector.conf to prefer faster, closer mirrors.
| /etc/xdg/reflector/reflector.conf |
|---|
--country "United States" |
--sort rate |
pacman -Syu bluez bluez-utils && systemctl enable --now bluetoothpacman -Syu power-profiles-daemon python-gobject && systemctl enable --now power-profiles-daemon
powerprofilesctlpacman -Syu os-proberEdit /etc/default/grub.
| /etc/default/grub |
|---|
GRUB_DISABLE_OS_PROBER=false |
Mount the partition containing the Windows bootloader and run this command.
It should have output stating that Windows was found.
grub-mkconfig -o /boot/grub/grub.cfgmesa is the DRI driver for 3D acceleration.
vulkan-radeon adds Vulkan support.
libva-mesa-driver adds VA-API accelerated video decoding.
pacman -Syu mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driverOptional: mesa-vdpau adds VDPAU accelerated video decoding.
pacman -Syu mesa-vdpau lib32-mesa-vdpauSet the amdgpu.vm_update_mode=3 kernel parameter for AMD Radeon 7000 series.
This seems to fix a rare page fault issue when playing specific games.
| /etc/default/grub |
|---|
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet amdgpu.vm_update_mode=3" |
grub-mkconfig -o /boot/grub/grub.cfg
rebootBefore you forget, set up the NVIDIA mkinitcpio hook for pacman.
Install NVIDIA drivers.
pacman -Syu nvidia nvidia-utils lib32-nvidia-utils nvidia-settingsFor Wayland compositors, set the modeset kernel module parameter in GRUB.
| /etc/default/grub |
|---|
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1" |
grub-mkconfig -o /boot/grub/grub.cfg
rebootMake sure that nvidia drivers are in use.
lspci -k | grep -B 2 nvidiamesa is the DRI driver for 3D acceleration.
vulkan-intel adds Vulkan support.
intel-media-driver adds VA-API accelerated video decoding.
pacman -Syu mesa lib32-mesa vulkan-intel lib32-vulkan-intel intel-media-driver
reboot