nixos-config/modules/gpu/intel.nix

15 lines
282 B
Nix
Raw Normal View History

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
}