From 64a3051b82fac8927c673b785d869b833c2c8942 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 10:10:00 +0100 Subject: [PATCH] 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 --- settings/hyprland.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 0413f6d..f7e3556 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -57,13 +57,11 @@ enable = true; systemd.variables = [ "--all" ]; - # HM's `plugins` option loads via `exec-once = hyprctl plugin load`, - # which races IPC startup and sometimes silently fails. Inject the - # native `plugin = /path` directive instead so loading happens - # synchronously during config parse. - extraConfig = '' - plugin = ${pkgs.hyprlandPlugins.hyprspace}/lib/libhyprspace.so - ''; + # Native `plugin = ...` directive crashes Hyprland on the current + # nixpkgs combo (compositor 0.52.1 vs plugin built for 0.52.0). + # HM's plugins list routes through `hyprctl plugin load` at runtime, + # which tolerates the patch-level skew. + plugins = [ pkgs.hyprlandPlugins.hyprspace ]; settings = { # Pin the OC'd 190 Hz mode so we don't fall back to 60.