~mdkcore/void-install-scripts

92eeb1a1aeed3945363cd3726597591becb5bd9d — Rodrigo Oliveira 7 months ago bf47fb4
[env] Import machine specific env files
2 files changed, 125 insertions(+), 0 deletions(-)

A env.apophis.sh
A env.nyx.sh
A env.apophis.sh => env.apophis.sh +68 -0
@@ 0,0 1,68 @@
MACHINE_NAME=apophis
# 0 do not hibernate, 1 hibernate
HIBERNATE=1

# efi partition
PARTITION_BOOT=nvme0n1p1
PARTITION_LUKS=nvme0n1p2

LUKS_TYPE=luks1
LUKS_MAPPING_NAME=crypt

BOOT_PARTITION_SIZE=256M # just for info

LVM_VOLUME_GROUP_NAME=cryptvg
# mem * 1.5, if hibernating
LVM_SWAP_SIZE=24G
LVM_ROOT_SIZE=80G
LVM_HOME_SIZE=100%FREE

VOID_ARCH=x86_64
VOID_MIRROR=https://repo-fastly.voidlinux.org/current
# XXX nonfree, multilib, multilib_nonfree on nyx?
VOID_REPOS="void-repo-nonfree"
VOID_SERVICES="at \
    bluetoothd \
    chronyd \
    connmand \
    dbus \
    elogind \
    nanoklogd \
    polkitd \
    sshd \
    socklog-unix \
    wireguard"

USER_GROUPS="wheel,disk,audio,video,dbus,input,plugdev,users,bluetooth,socklog"

EXTRA_PACKAGES="
    baresip \
    base-devel \
        libffi-devel \
        bzip2-devel \
        openssl \
        openssl-devel \
        readline \
        readline-devel \
        sqlite-devel \
        xz \
        liblzma-devel \
        zlib \
        zlib-devel \
    libva-intel-driver \
    light \
    nvidia \
    peek \
    openfortivpn \
        ppp \
    podman \
        crun \
        podman-compose \
        cni-plugin-dnsname \
    powertop \
    python3 \
    vagrant \
    virtualbox-ose"
REMOVE_PACKAGES=""
# start with a ",", i.e.: ",vboxusers,..."
EXTRA_USER_GROUPS=",vboxusers"

A env.nyx.sh => env.nyx.sh +57 -0
@@ 0,0 1,57 @@
MACHINE_NAME=nyx
# 0 do not hibernate, 1 hibernate
HIBERNATE=0

# efi partition
PARTITION_BOOT=nvme0n1p1
PARTITION_LUKS=nvme0n1p2

LUKS_TYPE=luks1
LUKS_MAPPING_NAME=crypt

BOOT_PARTITION_SIZE=256M # just for info

LVM_VOLUME_GROUP_NAME=cryptvg
# mem * 1.5, if hibernating
LVM_SWAP_SIZE=8G
LVM_ROOT_SIZE=128G
LVM_HOME_SIZE=100%FREE

VOID_ARCH=x86_64
VOID_MIRROR=https://repo-fastly.voidlinux.org/current
# XXX nonfree, multilib, multilib_nonfree on nyx?
VOID_REPOS="void-repo-nonfree"
VOID_SERVICES="at \
    bluetoothd \
    chronyd \
    connmand \
    dbus \
    elogind \
    nanoklogd \
    polkitd \
    sshd \
    socklog-unix \
    wireguard"

USER_GROUPS="wheel,disk,audio,video,dbus,input,plugdev,users,bluetooth,socklog"

EXTRA_PACKAGES="
    glxinfo \
    linux-firmware-amd \
    mesa-vaapi \
    mesa-vdpau \
    mesa-vulkan-radeon \
    picom \
    podman \
        crun \
        podman-compose \
        cni-plugin-dnsname \
    python3 \
    Vulkan-Tools \
    vulkan-loader \
    xf86-video-amdgpu \
    xtools-minimal"
# TODO remove linux-firmware-nvidia
REMOVE_PACKAGES="xf86-video-ati"
# start with a ",", i.e.: ",vboxusers,..."
EXTRA_USER_GROUPS=""