Modify firstboot-setup.service for graphical session

This commit is contained in:
humocs-man
2026-03-14 08:14:54 +01:00
committed by GitHub
parent 68428028ec
commit 6aa02e3ac3
@@ -2,13 +2,11 @@
Description=Run First Boot Setup Wizard
After=graphical-session.target
Wants=graphical-session.target
ConditionPathExists=%h/.config/firstboot/run
[Service]
Type=simple
Type=exec
ExecStart=%h/.config/firstboot/firstboot-setup.sh
Environment=WAYLAND_DISPLAY=wayland-0
Environment=DISPLAY=:0
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus
[Install]
WantedBy=default.target
WantedBy=graphical-session.target