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
|
@ -1,24 +1,4 @@
|
||||||
# Including this file will enable the AMD-GPU driver
|
# Including this file will enable the AMD-GPU driver (in shared.nix)
|
||||||
|
{
|
||||||
{ lib, pkgs, ... }:
|
imports = [ ../shared.nix ];
|
||||||
|
|
||||||
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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,10 +19,6 @@ in {
|
||||||
hardware = {
|
hardware = {
|
||||||
## Enable the Nvidia card, as well as Prime and Offload:
|
## Enable the Nvidia card, as well as Prime and Offload:
|
||||||
amdgpu.loadInInitrd = true;
|
amdgpu.loadInInitrd = true;
|
||||||
graphics.extraPackages = with pkgs; [
|
|
||||||
vaapiVdpau
|
|
||||||
libvdpau-va-gl
|
|
||||||
];
|
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue