amdgpu: disable unstable mesa driver
This commit is contained in:
parent
956977f6c8
commit
8ee01ca129
1 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue