From 86a10db2c9e567121c143e435cfba315e025727f Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 20 Jan 2025 14:17:28 -0800 Subject: [PATCH] feat: add libva-vdpau driver --- modules/linux/graphics/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/linux/graphics/default.nix b/modules/linux/graphics/default.nix index d83f1b5..d720a98 100644 --- a/modules/linux/graphics/default.nix +++ b/modules/linux/graphics/default.nix @@ -49,6 +49,13 @@ in nvidiaSettings = true; }; + hardware.graphics = { + enable = true; + extraPackages = with pkgs; [ + libva-vdpau-driver + ]; + }; + services.xserver.videoDrivers = lib.mkIf cfg.nvidia.enable [ "nvidia" ]; liminalOS.config.extraUnfreePackages = lib.mkIf cfg.nvidia.enable [