nixos-config/hosts/monolith/amdgpu.nix
2026-02-22 19:24:00 -03:00

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
];
}