Skip to content
/ void Public

void linux installation process and configs

Notifications You must be signed in to change notification settings

lxhan/void

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enter the void

I tried to make it minimal yet available to use all the tools I need and without refusing some decorations. It can be any distro (with some modifications) but I really like void at the moment for simplicity and minimalism. If you want to replicate something similar in void, install it on your computer and follow instructions below.

Network

First thing after installation we need internet connection. If you have wired connection it is a little easier but setting up wireless is not hard at all:

# show network interfaces
ip link show
# copy wpa conf 
cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
# set up interface
ip link set up <interface_name>
# set network name and password
wpa_passphrase <ssid> <key> >> /etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
# enable dhcpcd 
ln -s /etc/sv/dhcpcd /var/service
# enable wpa_supplicant
ln -s /etc/sv/wpa_supplicant /var/service
# restart dhcpcd
sv restart dhcpcd

If wpa_supplicant is not starting try:

wpa_supplicant -i <interface_name> -c /etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf

and check for errors.

Alternatively you can start wpa_supplicant manually:

wpa_supplicant -B -i <interface_name> -c </etc/wpa_supplicant/wpa_supplicant-<interface_name>.conf
dhcpcd <interface_name>

Mirrors

To make updating and installing packages fast we need to change mirror according to your region.

cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
vi /etc/xbps.d/*-repository-*.conf

# ex. change to singapore mirror
repository=https://void.webconverger.org/current

xbps-install -S

Update

Before installing packages we need to update void. Run update command several times:

xbps-install -Su

Packages

  1. Clone this repo if you haven't already:
git clone https://github.com/lxhan/void.git
cd void
  1. If git is not installed:
sudo xbps-install -S git
  1. Inspect pkg.sh and then run it:
chmod +x pkg.sh
./pkg.sh

Attention! pkg.sh contains only 2 commands: xbps-install -Syu and xbps-install -Sy ...packages. You can remove packages you don't need or add more. Script is only a shortcut so you don't have to type package names.

Fonts

Install additional fonts for polybar:

chmod +x fonts/fonts.sh
./fonts/fonts.sh

Configs

To install configs go to void directory which you cloned in previous step:

cd ~/void/config
stow -t ~/ *

Now logout or reboot and hopefully you have something like this:

screenshot

Remark: you may have to reboot several times and source .zshrc but eventually if you did everything right it should be almost the same as on screenshot except wallpaper.

Links

TODO

  • Make installation process with one script
  • Make distro agnostic

About

void linux installation process and configs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published