This commit is contained in:
2026-07-31 22:02:52 +09:00
parent 06cd9516b3
commit 3dae1d26ef
6 changed files with 270 additions and 3 deletions
+4
View File
@@ -151,6 +151,10 @@ in
# Pull in graphical-session.target so Home Manager services such as
# portals, Vicinae, and the idle manager follow the labwc session.
systemd.extraCommands = [
# Clear the previous session's target first. Otherwise services such as
# kanshi that lose their Wayland connection on logout remain in a
# failed/start-limit-hit state and are not started for the next login.
"${lib.getExe' pkgs.systemd "systemctl"} --user stop labwc-session.target"
"${lib.getExe' pkgs.systemd "systemctl"} --user --no-block start labwc-session.target"
];
};