2020-12-05 15:57:23 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.sbruder.gpu.intel;
|
|
|
|
in
|
2020-10-16 18:34:51 +02:00
|
|
|
{
|
2020-12-05 15:57:23 +01:00
|
|
|
options.sbruder.gpu.intel.enable = lib.mkEnableOption "intel gpu configuration";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
hardware.opengl.extraPackages = with pkgs; [
|
|
|
|
beignet
|
|
|
|
vaapiIntel
|
|
|
|
];
|
|
|
|
};
|
2020-10-16 18:34:51 +02:00
|
|
|
}
|