lots of unfree and intel acceleration
This commit is contained in:
@@ -2,6 +2,15 @@
|
||||
{
|
||||
# enable opengl (headless)
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/development/libraries/ffmpeg/generic.nix
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/development/libraries/jellyfin-ffmpeg/default.nix
|
||||
|
||||
nixpkgs.config.openglSupport = true; # why is this not set by hardware.opengl.enable ?
|
||||
nixpkgs.config.vaapiSupport = true;
|
||||
nixpkgs.config.libmfxSupport = true; # intel
|
||||
nixpkgs.config.libaomSupport = true;
|
||||
nixpkgs.config.vdpauSupport = true; # intel
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
#hardware.opengl.extraPackages = [ pkgs.mesa.drivers ];
|
||||
hardware.opengl.extraPackages = with pkgs; [ mesa.drivers vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ];
|
||||
|
||||
Reference in New Issue
Block a user