From db5abd78f85a6e8f191f09202d86b56ee48fbe68 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 13 May 2026 22:43:20 +0100 Subject: [PATCH] Maybe fix hyprland v2 --- settings/hyprland.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index a6039d2..b7eee8a 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -14,7 +14,7 @@ let (lib.removeSuffix "\n" (builtins.readFile (pkgs.writeReferencesToFile hyprutils))))); - hyprland-wrapped = pkgs.symlinkJoin { + hyprland-wrapped = (pkgs.symlinkJoin { name = hyprland-pkgs.hyprland.name; paths = [ hyprland-pkgs.hyprland ]; nativeBuildInputs = [ pkgs.makeWrapper ]; @@ -24,7 +24,10 @@ let wrapProgram $out/bin/Hyprland \ --set LD_PRELOAD "${gcc15-lib}/lib/libstdc++.so.6" ''; - }; + # HM's hyprland module calls package.override { enableXWayland = ... }; + # symlinkJoin has no override attr, so we attach a no-op: xwayland is + # already built into the upstream package we wrap. + }) // { override = _: hyprland-wrapped; }; in { config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {