packages() { addpkg base-system lvm2 cryptsetup htop tmux wireguard-tools } config() { chown root:root / chmod 755 / passwd root echo ${HOSTNAME} > /etc/hostname echo "LANG=en_US.UTF-8" > /etc/locale.conf echo "en_US.UTF-8 UTF-8" >> /etc/default/libc-locales if ! [ "$L1" == "en_US" ]; then echo "LANG=${L1}.UTF-8" > /etc/locale.conf echo "${L1}.UTF-8 UTF-8" >> /etc/default/libc-locales fi xbps-reconfigure -f glibc-locales echo "GRUB_ENABLE_CRYPTODISK=y" >> /etc/default/grub }