Initial public import of the proven Bash installer (installer/) and the production Rust workspace (installer-rs/). The reference ISO, build output and local agent transcripts are gitignored. Verified: installer/tests/run_tests.sh and cargo test --workspace both pass.
83 lines
3.8 KiB
Text
83 lines
3.8 KiB
Text
# Phoebus OS installer defaults.
|
|
#
|
|
# This file is sourced by lib/state.sh. Only settings that are not already
|
|
# defined are applied, so a user-supplied config file always wins.
|
|
#
|
|
# Do NOT put secrets (passwords, passphrases, API keys) in this file.
|
|
|
|
# --- identity ---------------------------------------------------------------
|
|
config_default DISTRO_NAME "Phoebus OS"
|
|
config_default DISTRO_ID "phoebus"
|
|
config_default ARCH "x86_64"
|
|
|
|
# --- general installation ---------------------------------------------------
|
|
config_default HOSTNAME "phoebus"
|
|
config_default KEYMAP "us"
|
|
config_default LOCALE "en_US.UTF-8"
|
|
config_default TIMEZONE "UTC"
|
|
config_default ROOT_SHELL "/bin/bash"
|
|
|
|
# --- user account -----------------------------------------------------------
|
|
config_default USERNAME ""
|
|
config_default USER_FULLNAME "Phoebus User"
|
|
config_default USER_GROUPS "wheel,audio,video,input,render,plugdev,libinput,network,power"
|
|
config_default USER_HOME "/home"
|
|
|
|
# --- target / storage -------------------------------------------------------
|
|
config_default TARGET_DISK ""
|
|
config_default PARTITION_SCHEME "whole_disk"
|
|
config_default EFI_SIZE_MIB "1024"
|
|
config_default EFI_MOUNT "/efi"
|
|
config_default SWAP_SIZE_MIB "0" # 0 = swapfile sized from RAM
|
|
config_default FILESYSTEM "btrfs"
|
|
config_default BTRFS_LABEL "phoebus"
|
|
config_default COMPRESS "zstd:3"
|
|
config_default INSTALL_ROOT "/mnt/phoebus"
|
|
config_default BTRFS_SUBVOLS "@ @home @var @snapshots @swap"
|
|
|
|
# --- encryption -------------------------------------------------------------
|
|
config_default ENCRYPTION "luks2"
|
|
config_default LUKS_NAME "cryptroot"
|
|
config_default LUKS_CIPHER "aes-xts-plain64"
|
|
config_default LUKS_KEY_SIZE "512"
|
|
config_default LUKS_PBKDF "argon2id"
|
|
|
|
# --- Gentoo base installation ----------------------------------------------
|
|
# Pin STAGE3_URL/STAGE3_SHA256 for reproducible installs. When empty the
|
|
# installer resolves the current stable systemd stage3 from the mirror.
|
|
config_default STAGE3_URL ""
|
|
config_default STAGE3_SHA256 ""
|
|
config_default STAGE3_MIRROR "https://distfiles.gentoo.org/releases/amd64/autobuilds"
|
|
config_default GENTOO_PROFILE "default/linux/amd64/23.0/systemd"
|
|
config_default BINHOST_URI "https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64"
|
|
|
|
# --- boot / kernel ----------------------------------------------------------
|
|
config_default BOOTLOADER "systemd-boot"
|
|
config_default KERNEL_PROFILE "optimized" # safe | optimized | aggressive
|
|
config_default KERNEL_PACKAGE "sys-kernel/gentoo-kernel"
|
|
config_default KERNEL_UKI "no"
|
|
config_default KERNEL_CONSOLE "console=tty0"
|
|
config_default KEEP_KERNELS "3"
|
|
config_default SECUREBOOT "no"
|
|
|
|
# --- software ---------------------------------------------------------------
|
|
config_default PACKAGE_POLICY "balanced" # source_first | balanced | binary_first
|
|
config_default FEATURES_BINPKG "yes"
|
|
config_default ACCEPT_LICENSE "@FREE @BINARY-REDISTRIBUTABLE"
|
|
config_default DESKTOP_PROFILE "none" # none | minimal | dwl | full
|
|
config_default FLATPAK "no"
|
|
config_default AUDIO_STACK "pipewire"
|
|
config_default INIT_SYSTEM "systemd"
|
|
|
|
# --- AI ---------------------------------------------------------------------
|
|
config_default AI_ENABLED "no"
|
|
config_default AI_PROVIDER ""
|
|
config_default AI_MODEL ""
|
|
config_default AI_ENDPOINT ""
|
|
config_default OPENCODE_VERSION ""
|
|
config_default OPENCODE_VERIFY "yes"
|
|
|
|
# --- runtime (not persisted by default) ------------------------------------
|
|
config_default DRY_RUN "no"
|
|
config_default ASSUME_YES "no"
|
|
config_default LOG_DIR "/var/log/ai-installer"
|