clawdie-iso/build.cfg

53 lines
1.9 KiB
INI
Raw Normal View History

#!/bin/sh
# clawdie-iso build configuration
# Sourced by build.sh — edit before building
FREEBSD_VERSION="15.0-RELEASE"
FREEBSD_ARCH="amd64"
FREEBSD_MEMSTICK_URL="https://download.freebsd.org/releases/ISO-IMAGES/15.0/FreeBSD-${FREEBSD_VERSION}-${FREEBSD_ARCH}-memstick.img"
FREEBSD_MEMSTICK_SHA256_URL="${FREEBSD_MEMSTICK_URL}.SHA256"
# Output image
# User-facing date format: DD.mmm.YYYY (per AGENTS.md convention)
#
# USB KEY SIZING GUIDE:
# 64GB USB → IMAGE_SIZE="50G" (leaves ~14GB spare for user data/cache)
# 128GB USB → IMAGE_SIZE="100G" (leaves ~28GB spare)
# 256GB USB → IMAGE_SIZE="200G" (leaves ~56GB spare)
#
# Minimum: 64GB USB (with IMAGE_SIZE=50G)
# Recommended: 128GB USB (with IMAGE_SIZE=100G) for comfortable offline setup
#
IMAGE_SIZE="50G"
IMAGE_NAME="clawdie-iso-$(date +%d.%b.%Y | tr 'A-Z' 'a-z').img"
# Clawdie-AI release to bundle (fetched from Codeberg)
CLAWDIE_VERSION="0.9.0"
CLAWDIE_TARBALL_URL="https://codeberg.org/Clawdie/Clawdie-AI/archive/v${CLAWDIE_VERSION}.tar.gz"
# Default installer choices (can be overridden by clawdie.conf on USB)
DEFAULT_PKG_BRANCH="latest" # latest or quarterly
DEFAULT_DESKTOP="lumina" # lumina only (sole supported DE)
# GPU driver variant (set at build time via --gpu-driver flag)
# intel | amd | nvidia-590 | nvidia-470 | nvidia-390 | vesa | "" (auto-detect)
GPU_DRIVER=""
# Deploy target
TARGET="baremetal" # cloud | baremetal
# Cloud pre-bake vars (supplied via --assistant-name, --domain, --tz flags)
# Leave blank for baremetal — firstboot wizard collects these interactively
ASSISTANT_NAME=""
AGENT_DOMAIN=""
TZ=""
# SSH public key (optional, supplied via --ssh-key flag)
# If provided, disables password auth; if not, enables password auth fallback
SSH_PUBLIC_KEY=""
# System passwords (optional, supplied via flags)
# If not provided, auto-generated at firstboot
ROOT_PASSWORD=""
CLAWDIE_USER_PASSWORD=""