This is a guide I wrote for my future self that will help to quickly set up a fully usable Void Linux installation with Wayland-only GNOME. This is heavily inspired by and based on nerdyslacker's guide (huge thanks!).
- Download the base glibc live image here and install using the official instructions. Don't forget to configure the network during installation.
- Install essential packages:
sudo xbps-install -Suv
sudo xbps-install -Rs void-repo-nonfree
sudo xbps-install gnome dbus xdg-user-dirs-gtk xdg-utils NetworkManager pipewire libspa-bluetooth ntp dejavu-fonts-ttf gnome-browser-connector qt5-wayland
- Install drivers (for NVIDIA read the docs):
# AMD
sudo xbps-install mesa-dri mesa-vaapi mesa-vdpau mesa-vulkan-radeon
# Intel
sudo xbps-install mesa-dri intel-video-accel mesa-intel-dri intel-ucode
- Activate services:
sudo ln -s /etc/sv/gdm /var/service
sudo ln -s /etc/sv/dbus /var/service
sudo ln -s /etc/sv/ntpd /var/service
sudo ln -s /etc/sv/bluetoothd /var/service
sudo rm /var/service/wpa_supplicant /var/service/dhcpcd
sudo ln -s /etc/sv/NetworkManager /var/service
sudo ln -s /usr/share/applications/pipewire.desktop /etc/xdg/autostart/pipewire.desktop
sudo mkdir -p /etc/pipewire/pipewire.conf.d
sudo ln -s /usr/share/examples/wireplumber/10-wireplumber.conf /etc/pipewire/pipewire.conf.d/
sudo ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf /etc/pipewire/pipewire.conf.d/
# Now reboot & configure network using GUI
- Install additional packages:
# console utils
sudo xbps-install git curl nano wget unp htop xtools
# browser & multimedia
sudo xbps-install firefox firefox-i18n-en-US ffmpeg celluloid vlc
# fonts
sudo ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
sudo xbps-install noto-fonts-ttf noto-fonts-emoji
# flatpak
sudo xbps-install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# tlp (saving laptop battery)
sudo xbps-install tlp tlp-rdw
sudo ln -s /etc/sv/tlp /var/service
That's it. Welcome to the Void. Now you have a clean GNOME environment. You might want to tinker with it yourself now, so here are some useful resources that are not necessary to explore but you may find useful:
- Optimization Void - themagicalmammal
- Void Linux + GNOME - nerdyslacker
- Post Installation Void Linux (Glibc) - bastomiadi
- Cron - Void Handbook
- Logging - Void Handbook
- Solid State Drives - Void Handbook