# systemd-user drop-in installed by omarchy-moonlight in headless mode. # Ensures Hyprland's HEADLESS-1 output exists before Sunshine starts so the # encoder probe at startup finds a valid surface (otherwise: "Fatal: Unable # to find display or encoder during startup"). The '-' prefix makes failure # non-fatal so Sunshine still starts if Hyprland isn't reachable. [Service] ExecStartPre=-/usr/bin/hyprctl output create headless