/voidy

A custom (personal) void linux installation script.

Primary LanguageShellMIT LicenseMIT

Voidy

A custom (personal) void linux installation script.

GitHub Repo stars Maintenance License

Demo

Table of Contents

Setup ⚙️

Download the project:

xbps-install -Syu xbps git gnupg
git clone https://github.com/nemo256/voidy
cd voidy

Create or modify the <.env> file:

USERNAME=             # your username (eg: foo)
MASTER_PASSWORD=      # your root password (eg: bar)
PASSWORD=             # your password (eg: baz)
HOSTNAME=             # your hostname (eg: thinkpad)
SHELL=                # preferred shell (eg: /bin/zsh)
TOKEN=                # this is the github token (you can leave it empty)
DISK=                 # disk you want to install voidy on (eg: /dev/sda)
MOUNT_OPTIONS=        # disk mount options (eg: "noatime,compress=zstd,ssd,commit=120")
FS=                   # filesystem type (eg: ext4, btrfs...)
TIMEZONE=             # timezone like this <Continent/city> (eg: Europe/paris, America/chicago)
KEYMAP=               # keymap of the keyboard (eg: us, fr, es...)
REPO=                 # main voidy repo. (eg: https://repo-default.voidlinux.org/current)
ARCH=                 # architecture (eg: x86_64, i686, arm...)

Use this command to generate encrypted passwords:
openssl passwd -6 -salt 'salt' <password>

Make the scripts executable:

chmod +x install postinstall

Run the installation:

./install

Credits 🤝

License 📑