mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
lenovo/yoga/7/14ARH7: remove redundant vdpau packages
amd doesn't need them and nvidia already includes them
This commit is contained in:
parent
a5abf3379d
commit
b7d8d5c788
2 changed files with 3 additions and 27 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue