mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-31 09:58:53 -08:00
feat: add libva-vdpau driver
This commit is contained in:
parent
4d94145187
commit
86a10db2c9
1 changed files with 7 additions and 0 deletions
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue