23 lines
488 B
Nix
23 lines
488 B
Nix
{ pkgs, ... }:
|
|
{
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
|
boot.kernelParams = [
|
|
"video=DP-1:1920x1080@144"
|
|
];
|
|
|
|
# hardware.amdgpu = {
|
|
# overdrive = {
|
|
# enable = true;
|
|
# ppfeaturemask = "0xffffffff";
|
|
# };
|
|
# };
|
|
|
|
hardware.graphics.package = pkgs.unstable.mesa; # Mesa 26 at the time
|
|
|
|
hardware.graphics.enable32Bit = true;
|
|
|
|
hardware.graphics.extraPackages = with pkgs; [
|
|
# libva needs to match `hardware.graphics.package`
|
|
unstable.libva
|
|
];
|
|
}
|