20 lines
339 B
Nix
20 lines
339 B
Nix
{ pkgs, ... }:
|
|
{
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
|
boot.kernelParams = [
|
|
"video=DP-1:1920x1080@144"
|
|
];
|
|
|
|
hardware.amdgpu = {
|
|
overdrive = {
|
|
enable = true;
|
|
ppfeaturemask = "0xffffffff";
|
|
};
|
|
};
|
|
|
|
hardware.graphics.enable32Bit = true;
|
|
|
|
hardware.graphics.extraPackages = with pkgs; [
|
|
libva
|
|
];
|
|
}
|