ensure mesa package matches hyprland internal package

This commit is contained in:
do butterflies cry? 2026-03-07 16:42:20 +10:00
parent 82c10b793b
commit aba1b552d9
Signed by: cry
GPG key ID: F68745A836CA0412
2 changed files with 9 additions and 7 deletions

View file

@ -1,10 +1,12 @@
{
inputs,
pkgs,
lib,
system,
...
}: let
# hyprpkgs = inputs.hyprland.packages.${system}
# hyprpkgs = inputs.hyprland.packages.${system};
hyprpkgs = inputs.hyprland.inputs.nixpkgs.legacyPackages.${system};
in {
environment.defaultPackages = with pkgs; [
hyprsunset
@ -14,11 +16,6 @@ in {
enable = true;
wlr.enable = true;
# extraPortals = with pkgs; [
# xdg-desktop-portal-hyprland
# xdg-desktop-portal-gtk
# ];
};
programs = {
@ -31,4 +28,9 @@ in {
xwayland.enable = true;
};
};
hardware.graphics = {
package = lib.mkForce hyprpkgs.mesa;
package32 = lib.mkForce hyprpkgs.pkgsi686Linux.mesa;
};
}