|
{ config, pkgs, lib, ... }:
|
|
{
|
|
# enable opengl (headless)
|
|
|
|
hardware.opengl.enable = true;
|
|
#hardware.opengl.extraPackages = [ pkgs.mesa.drivers ];
|
|
hardware.opengl.extraPackages = with pkgs; [ mesa.drivers vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ];
|
|
}
|