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 committed 2026-06-04 18:37:32 -04:00
1 parent b45e8464ef
commit 75cb4f7195
440 files changed
+790 -4922

No files matched your search

+2 -18
View File
@@ -1,22 +1,6 @@
# Static SDDM theme/session files and wayland config are package-owned. This
# script keeps only install-specific autologin and legacy cleanup.
rm -f /usr/share/sddm/hyprland.conf
mkdir -p /etc/sddm.conf.d
autologin_conf=/etc/sddm.conf.d/autologin.conf
if [[ ! -f $autologin_conf ]]; then
cat > "$autologin_conf" <<EOF
[Autologin]
User=$OMARCHY_INSTALL_USER
Session=omarchy
EOF
else
sed -i 's/^Session=hyprland-uwsm$/Session=omarchy/' "$autologin_conf"
sed -i '/^\[Theme\]$/,/^$/d' "$autologin_conf"
fi
# Prevent password-based SDDM logins from creating an encrypted login keyring
# (which conflicts with the passwordless Default_keyring used for auto-unlock)
# that conflicts with Omarchy's passwordless default keyring behavior. The ISO
# owns autologin/session state because it knows whether the target is encrypted.
if [[ -f /etc/pam.d/sddm ]]; then
sed -i '/-auth.*pam_gnome_keyring\.so/d' /etc/pam.d/sddm
sed -i '/-password.*pam_gnome_keyring\.so/d' /etc/pam.d/sddm