lenovo/yoga/7/14ARH7: remove redundant vdpau packages

amd doesn't need them and nvidia already includes them
This commit is contained in:
Jörg Thalheim 2024-06-26 09:29:56 +02:00 committed by mergify[bot]
parent a5abf3379d
commit b7d8d5c788
2 changed files with 3 additions and 27 deletions

View file

@ -1,24 +1,4 @@
# Including this file will enable the AMD-GPU driver
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
in {
imports = [
../shared.nix
../../../../../common/gpu/24.05-compat.nix
];
# AMD RX680
services.xserver.videoDrivers = mkDefault [ "amdgpu" ];
hardware = {
amdgpu.loadInInitrd = true;
graphics.extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
};
# Including this file will enable the AMD-GPU driver (in shared.nix)
{
imports = [ ../shared.nix ];
}

View file

@ -19,10 +19,6 @@ in {
hardware = {
## Enable the Nvidia card, as well as Prime and Offload:
amdgpu.loadInInitrd = true;
graphics.extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
nvidia = {
modesetting.enable = true;