Maybe fix hyprland v2

This commit is contained in:
ediblerope 2026-05-13 22:43:20 +01:00
parent 38ef4c59f1
commit db5abd78f8

View file

@ -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") {