#!/bin/sh # We'll use xpkg from xtools to find installable packages if ! [ -x "$(command -v xpkg)" ]; then sudo xbps-install -y xtools fi if ! [ -x "$(command -v nmtui)" ]; then sudo xbps-install -y NetworkManager sudo ln -s /etc/sv/NetworkManager /var/service sudo sv stop wpa_supplicant sudo sv start NetworkManager fi # Set up file sync if [ ! -f ~/repository.list ]; then xpkg -m > ~/repository.list fi if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then sudo xbps-install -y void-repo-nonfree fi