Enhance firstboot-setup.service with dependencies

Added dependencies and environment variables for firstboot service.
This commit is contained in:
humocs-man authored and GitHub committed 2026-03-15 20:22:00 +01:00
1 parent 8956d041a7
commit dc3229a2da
1 file changed
+9
@@ -1,9 +1,18 @@
[Unit]
Description=First Boot Wizard
ConditionPathExists=%h/.config/firstboot/run
After=graphical-session.target
Wants=graphical-session.target
[Service]
Type=simple
# Kleiner Puffer für VMs, auf echter Hardware praktisch irrelevant
ExecStartPre=/usr/bin/sleep 2
# Verhindert MESA/ZINK-Fehler in VMs, auf echter Hardware unkritisch
Environment=LIBGL_ALWAYS_SOFTWARE=1
ExecStart=%h/.config/firstboot/firstboot-setup.sh
[Install]