Skip to content

Commit 720230c

Browse files
committed
Remove initial session from live iso
1 parent 7a3dacb commit 720230c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

iso_files/hook-post-rootfs.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ systemctl disable rpm-ostreed-automatic.timer || true
107107
# flatpak-preinstall is now a user service, no need to disable
108108
systemctl disable hypercube-first-boot.service || true
109109

110+
# Remove first-boot wizard from greetd config for live environment
111+
# The initial_session runs the Quickshell wizard which is for installed systems only
112+
# On live ISO, we want livesys to handle the session (boots into Hyprland with installer)
113+
if [[ -f /etc/greetd/config.toml ]]; then
114+
sed -i '/^\[initial_session\]/,/^$/d' /etc/greetd/config.toml
115+
echo "Removed greetd initial_session for live environment"
116+
fi
117+
110118
# Disable services that fail in live environment
111119
systemctl disable mcelog.service || true
112120
systemctl disable ublue-nvctk-cdi.service || true

0 commit comments

Comments
 (0)