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:
parent
a42993d4fd
commit
64a3051b82
1 changed files with 5 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue