23 lines
474 B
Nix
23 lines
474 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.pkgs-mesa-26.mesa;
|
|
|
|
hardware.graphics.enable32Bit = true;
|
|
|
|
hardware.graphics.extraPackages = with pkgs; [
|
|
# libva needs to match `hardware.graphics.package`
|
|
pkgs-mesa-26.libva
|
|
];
|
|
}
|