amdgpu: disable unstable mesa driver

This commit is contained in:
Leonardo Eugênio 2026-06-08 20:52:12 -03:00
parent 956977f6c8
commit 8ee01ca129

View file

@ -1,4 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
let
# mesaPkgs = pkgs.unstable.mesa;
mesaPkgs = pkgs;
in
{ {
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelParams = [ boot.kernelParams = [
@ -12,12 +16,12 @@
# }; # };
# }; # };
hardware.graphics.package = pkgs.unstable.mesa; # Mesa 26 at the time hardware.graphics.package = mesaPkgs.mesa; # Mesa 26 at the time
hardware.graphics.enable32Bit = true; hardware.graphics.enable32Bit = true;
hardware.graphics.extraPackages = with pkgs; [ hardware.graphics.extraPackages = with mesaPkgs; [
# libva needs to match `hardware.graphics.package` # libva needs to match `hardware.graphics.package`
unstable.libva libva
]; ];
} }