- Store ownership: chown -R 1000:1000 at Docker build time (not runtime) so the live user can create lock files without flooding the tmpfs overlay - nix.conf: add build-users-group= to force single-user mode and avoid daemon connection attempts (xbps nix-daemon v2.30.2 incompatible with pre-baked nix v2.34.6) - profile.d: export NIX_REMOTE=local and NIXPKGS_ALLOW_UNFREE=1; wrap nix() to append --impure so flake installs work without extra flags - Skel: add ~/.config/nixpkgs/config.nix with allowUnfree=true - postinstall.sh: fix daemon socket path (/nix/var/nix/...), write ~/.config/nixpkgs/config.nix for installed user - first-login.sh: add NIX_REMOTE=local alongside NIXPKGS_ALLOW_UNFREE=1 - Remove nix-daemon from live ISO services (wrong version for pre-baked client) - Misc: bluetooth group, package list reorg, skip vscode install for niri profile Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
94 lines
2.9 KiB
Plaintext
94 lines
2.9 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,bluetooth"
|
|
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"
|
|
"nixpkgs#vscode"
|
|
"nixpkgs#fastfetch"
|
|
)
|
|
|
|
# ---------- 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}"
|