nixos-hardware/lenovo/yoga/7/14ARH7/amdgpu/default.nix

24 lines
364 B
Nix
Raw Normal View History

# Including this file will enable the AMD-GPU driver
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
in {
imports = [
../shared.nix
];
# AMD RX680
services.xserver.videoDrivers = mkDefault [ "amdgpu" ];
hardware = {
amdgpu.loadInInitrd = true;
2024-06-21 09:44:42 -04:00
graphics.extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
};
}