mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 08:47:13 +08:00
lenovo/yoga/7/14ARH7: remove redundant vdpau packages
amd doesn't need them and nvidia already includes them
This commit is contained in:
committed by
mergify[bot]
parent
a5abf3379d
commit
b7d8d5c788
@@ -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 ];
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user