hyprland: revert to plugins list so the compositor boots

Native `plugin = ...` crashes Hyprland during config parse because the
nixpkgs hyprspace is built against 0.52.0 and the compositor is 0.52.1.
The runtime `hyprctl plugin load` path tolerates the skew, so route the
plugin back through HM's plugins option. Super+Space won't fire on every
boot until we land a more robust load mechanism, but the session is
usable again.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 10:10:00 +01:00
parent a42993d4fd
commit 64a3051b82

View file

@ -57,13 +57,11 @@
enable = true; enable = true;
systemd.variables = [ "--all" ]; systemd.variables = [ "--all" ];
# HM's `plugins` option loads via `exec-once = hyprctl plugin load`, # Native `plugin = ...` directive crashes Hyprland on the current
# which races IPC startup and sometimes silently fails. Inject the # nixpkgs combo (compositor 0.52.1 vs plugin built for 0.52.0).
# native `plugin = /path` directive instead so loading happens # HM's plugins list routes through `hyprctl plugin load` at runtime,
# synchronously during config parse. # which tolerates the patch-level skew.
extraConfig = '' plugins = [ pkgs.hyprlandPlugins.hyprspace ];
plugin = ${pkgs.hyprlandPlugins.hyprspace}/lib/libhyprspace.so
'';
settings = { settings = {
# Pin the OC'd 190 Hz mode so we don't fall back to 60. # Pin the OC'd 190 Hz mode so we don't fall back to 60.