Files
void-installer/config/install.conf

92 lines
2.8 KiB
Plaintext

# Void installer configuration for the XPS 17 (xps9700)
# Sourced by installer/install.sh inside the live environment.
# All passwords come from /etc/installer-secrets.env (baked at ISO build).
# ---------- Identity ----------
HOSTNAME="xps9700"
USERNAME="moze"
USER_FULLNAME="moze"
USER_UID="1000"
USER_GROUPS="wheel,docker,video,audio,input,plugdev,network,kvm,users"
DEFAULT_SHELL="/bin/bash"
# ---------- Locale ----------
LOCALE="en_US.UTF-8"
LANG="en_US.UTF-8"
KEYMAP="ch-fr_nodeadkeys" # Swiss French keyboard
TIMEZONE="Europe/Zurich"
HARDWARECLOCK="UTC"
# ---------- Repository ----------
REPO_URL="https://repo-default.voidlinux.org/current"
ARCH="x86_64" # glibc
EXTRA_REPOS=(nonfree multilib multilib/nonfree)
# During install, packages can be fetched via a local caching proxy (set by
# the test harness to http://10.0.2.2:3142/current). Empty = use REPO_URL.
INSTALL_REPO_URL=""
# ---------- Disk layout ----------
# Defaults match the detected XPS 17 layout. The TUI overrides these
# after explicit user confirmation.
DEFAULT_DISK="/dev/nvme0n1"
DEFAULT_ROOT_PART="/dev/nvme0n1p5" # Linux Mint -> Void
DEFAULT_EFI_PART="/dev/nvme0n1p1" # SHARED with Windows; never reformatted
DEFAULT_FS="btrfs"
# Btrfs subvolume layout. Each entry: "<subvol-name>:<mountpoint>"
# ("@" is the root subvolume; mountpoint is relative to the install root).
BTRFS_SUBVOLS=(
"@:/"
"@home:/home"
"@snapshots:/.snapshots"
"@var_log:/var/log"
"@var_cache:/var/cache"
)
BTRFS_MOUNT_OPTS="rw,noatime,ssd,compress=zstd:3,space_cache=v2,discard=async"
EFI_MOUNTPOINT="/boot/efi"
# ---------- Boot ----------
BOOTLOADER="grub"
BOOTLOADER_ID="Void"
ENABLE_OS_PROBER="yes" # detect Windows on /dev/nvme0n1p3
# ---------- Hardware ----------
CPU_VENDOR="intel" # microcode -> intel-ucode
GPU_MODE="prime-offload" # Intel UHD primary, NVIDIA GTX 1650 Ti on demand
WIFI_FW="yes"
KERNEL_PKG="linux"
# ---------- Services ----------
SSHD_ENABLE="no"
NETWORK_MGR="NetworkManager"
DISPLAY_MANAGER="lightdm"
DESKTOP="cinnamon"
ZRAM_ENABLE="yes"
ZRAM_SIZE_PCT="50" # 50% of RAM
# ---------- SSH config ----------
SSH_SOURCE_DIR="/etc/installer-ssh" # baked into ISO from /home/moze/.ssh
SSH_TARGET_DIR_REL=".ssh"
# ---------- Nix ----------
ENABLE_NIX="yes"
# Apps installed via `nix profile install` after first boot for $USERNAME:
NIX_USER_PACKAGES=(
"nixpkgs#spotify"
"nixpkgs#discord"
"nixpkgs#localsend"
"nixpkgs#google-chrome"
"nixpkgs#mission-center"
)
# ---------- Cinnamon customization ----------
GTK_THEME="Gruvbox-Dark"
ICON_THEME="Gruvbox-Plus-Dark"
CURSOR_THEME="Bibata-Modern-Ice"
DEFAULT_TERMINAL="alacritty"
INITIAL_WALLPAPER="pxfuel.jpg"
# ---------- Test mode flag ----------
# Set TEST_MODE=1 in env when running under QEMU smoke tests.
TEST_MODE="${TEST_MODE:-0}"