2022-11-13 01:32:01 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2024-06-21 21:26:44 +00:00
|
|
|
imports = [ ../24.05-compat.nix ];
|
2022-11-13 01:32:01 +00:00
|
|
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
2024-06-27 10:05:59 +00:00
|
|
|
hardware.graphics.extraPackages = [
|
|
|
|
(
|
|
|
|
if pkgs ? libva-vdpau-driver
|
|
|
|
then pkgs.libva-vdpau-driver
|
|
|
|
else pkgs.vaapiVdpau
|
|
|
|
)
|
2022-11-13 01:32:01 +00:00
|
|
|
];
|
|
|
|
}
|