mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-26 03:29:44 +01:00
13 lines
276 B
Nix
13 lines
276 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ../24.05-compat.nix ];
|
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
|
hardware.graphics.extraPackages = [
|
|
(
|
|
if pkgs ? libva-vdpau-driver
|
|
then pkgs.libva-vdpau-driver
|
|
else pkgs.vaapiVdpau
|
|
)
|
|
];
|
|
}
|