fix: start sims after graphical so it gets correct env

This commit is contained in:
2026-06-16 18:17:15 +02:00
parent 07919fc687
commit 9c1c612a04
+9 -1
View File
@@ -375,6 +375,14 @@
{
Unit = {
Description = "sims status bar";
# Start as part of the graphical session rather than at
# user-manager boot. The compositor populates the systemd
# user environment (WAYLAND_DISPLAY, NIXOS_OZONE_WL, ...)
# via `import-environment` before it activates
# graphical-session.target, so binding here guarantees sims
# — and every app it launches via `systemd-run --scope` —
# inherits the correct Wayland environment.
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
@@ -384,7 +392,7 @@
};
Install = {
WantedBy = [ "default.target" ];
WantedBy = [ "graphical-session.target" ];
};
};
};