fix: patch hyprland with asahi fix

This commit is contained in:
Youwen Wu 2024-08-21 15:56:07 -07:00
parent 4a81c7d9c3
commit e786df3151
2 changed files with 42 additions and 1 deletions

View file

@ -36,7 +36,20 @@
settings.General.EnableNetworkConfiguration = true;
};
nixpkgs.overlays = [inputs.apple-silicon.overlays.apple-silicon-overlay];
nixpkgs.overlays = [
inputs.apple-silicon.overlays.apple-silicon-overlay
(final: prev: {
hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
src = oldAttrs.src;
patches =
oldAttrs.patches
or []
++ [
./0001-linux-dmabuf-allow-on-split-node-systems.patch
];
});
})
];
programs.light.enable = true;