Workarounds in this repo that patch around an upstream bug rather than fix it properly. Each entry should be removed once the referenced upstream issue is resolved and the workaround is no longer needed.
- Where:
home/hyprland/hyprland.nix—wayland.windowManager.hyprland.systemd.extraCommands - What: Overrides Home Manager's default
extraCommands(stopthenstarthyprland-session.target) to only runstart. - Why: Home Manager's Hyprland module runs
systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.targetfromexec-once. Under uwsm,hyprland-session.target'sBindsTo=graphical-session.targetpropagates that momentarystopdown throughwayland-session@.targetintowayland-wm@.service, SIGTERM-ing Hyprland ~100ms after a fully successful start. Root-caused upstream in hyprwm/Hyprland#15688 (closed as not-a-Hyprland-bug — it's Home Manager's systemd integration). - Revert when: Home Manager's
wayland.windowManager.hyprlandmodule stops emitting astop && startpair forhyprland-session.target(or gains uwsm-aware handling) — check the module'ssystemd.extraCommandsdefault inmodules/services/window-managers/hyprland/default.nixupstream. At that point, drop thesystemd.extraCommandsoverride inhyprland.nixand delete this entry.