Make setup ISO-only

Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
This commit is contained in:
Ryan Hughes
2026-06-04 18:37:32 -04:00
parent b45e8464ef
commit 75cb4f7195
440 changed files with 790 additions and 4922 deletions
+16
View File
@@ -0,0 +1,16 @@
# Temporary fix for Dell XPS 14/16 on Panther Lake
# Disable WiFi 7 (EHT/802.11be) on Intel BE200/BE211 cards
# The iwlwifi driver has a broken EHT RX data path — APs drop to MCS 0 NSS 1
# when EHT is negotiated, making WiFi unusable. Disabling EHT falls
# back to WiFi 6 (HE/802.11ax) which works at full speed.
# This should be removed when Intel fixes the firmware/driver.
if lspci -nn | grep -qE '\[8086:(e440|272b)\]'; then
mkdir -p /etc/modprobe.d
cat > /etc/modprobe.d/iwlwifi-disable-eht.conf <<'EOF'
# Temporary fix Dell XPS 14/16 on Panther lake
# Disable WiFi 7 (EHT) on Intel BE200/BE211 — broken RX rate adaptation
# Remove this file when fixes land in the iwlwifi EHT data path
options iwlwifi disable_11be=Y
EOF
fi
+13
View File
@@ -0,0 +1,13 @@
# Enable Flexible Return and Event Delivery on Intel Panther Lake.
DROP_IN="/etc/limine-entry-tool.d/intel-panther-lake-fred.conf"
if omarchy-hw-intel-ptl; then
if [[ ! -f $DROP_IN ]] || ! grep -q 'fred=on' "$DROP_IN"; then
sudo mkdir -p /etc/limine-entry-tool.d
cat <<EOF | sudo tee "$DROP_IN" >/dev/null
# Intel Panther Lake FRED support
KERNEL_CMDLINE[default]+=" fred=on"
EOF
fi
fi
+5
View File
@@ -0,0 +1,5 @@
# Install MIPI camera support for Intel IPU7 hardware
if grep -q "OVTI08F4" /sys/bus/acpi/devices/*/hid 2>/dev/null; then
omarchy-pkg-add intel-ipu7-camera
fi
+11
View File
@@ -0,0 +1,11 @@
# Install Intel Low Power Mode Daemon for supported hybrid Intel CPUs (Alder Lake and newer)
# Supported models: Alder Lake (151/154), Raptor Lake (183/186/191),
# Meteor Lake (170/172), Lunar Lake (189), Panther Lake (204)
if omarchy-hw-intel && omarchy-battery-present; then
cpu_model=$(grep -m1 "^model\s*:" /proc/cpuinfo 2>/dev/null | cut -d: -f2 | tr -d ' ')
if [[ "$cpu_model" =~ ^(151|154|170|172|183|186|189|191|204)$ ]]; then
omarchy-pkg-add intel-lpmd
sudo systemctl enable intel_lpmd.service
fi
fi
+15
View File
@@ -0,0 +1,15 @@
# Install Panther Lake kernel for Dell XPS Panther Lake systems
# The linux-ptl kernel includes audio driver patches not yet in mainline.
if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl; then
echo "Detected Dell XPS Panther Lake, installing PTL kernel..."
omarchy-pkg-add linux-ptl linux-ptl-headers
pacman -Rdd --noconfirm linux linux-headers 2>/dev/null || true
mkdir -p /etc/limine-entry-tool.d
cat > /etc/limine-entry-tool.d/dell-xps-panther-lake.conf <<'EOF'
# Only show Panther Lake kernel in boot menu on Dell XPS Panther Lake
BOOT_ORDER="linux-ptl*, *fallback, Snapshots"
EOF
fi
+8
View File
@@ -0,0 +1,8 @@
# Install Sound Open Firmware for the audio DSP on non-XPS Intel Panther
# Lake systems. XPS PTL stays on linux-ptl, which hard-deps sof-firmware.
# Mainline `linux` only optdeps it, so without this the DSP fails to boot
# and only auto_null shows up in PipeWire.
if omarchy-hw-intel-ptl && ! omarchy-hw-match "XPS"; then
omarchy-pkg-add sof-firmware
fi
+12
View File
@@ -0,0 +1,12 @@
# Enable thermald for Intel laptops (Sandy Bridge and newer)
# Thermald is useful for Intel Sandy Bridge (2nd gen Core, model 42/45) and newer CPUs.
if omarchy-hw-intel; then
# Check if Sandy Bridge or newer (model >= 42). Sandy Bridge: model 42 (mobile), 45 (desktop)
cpu_model=$(grep -m1 "^model\s*:" /proc/cpuinfo 2>/dev/null | cut -d: -f2 | tr -d ' ')
cpu_model=${cpu_model:-0}
if ((cpu_model >= 42)) && omarchy-battery-present; then
omarchy-pkg-add thermald
sudo systemctl enable thermald.service
fi
fi
@@ -0,0 +1,11 @@
# This installs hardware video acceleration for Intel GPUs
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
# HD Graphics / Iris / Xe / Arc / Non-Arc Panther Lake use intel-media-driver + VPL
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|uhd\ graphics|xe|iris|arc|panther\ lake) ]]; then
omarchy-pkg-add intel-media-driver libvpl vpl-gpu-rt
elif [[ ${INTEL_GPU,,} =~ "gma" ]]; then
# Older generations from 2008 to ~2014-2017 use libva-intel-driver
omarchy-pkg-add libva-intel-driver
fi
fi