mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-01-15 00:48:21 +01:00
21 lines
429 B
Nix
21 lines
429 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
|
||
|
libmkIf (${deviceProfile} == "intel-laptop") {
|
||
|
nixpkgs.config.packageOverrides = pkgs: {
|
||
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||
|
};
|
||
|
|
||
|
# OpenGL
|
||
|
hardware.opengl = {
|
||
|
enable = true;
|
||
|
extraPackages = with pkgs; [
|
||
|
intel-media-driver
|
||
|
vaapiIntel
|
||
|
vaapiVdpau
|
||
|
libvdpau-va-gl
|
||
|
];
|
||
|
driSupport = true;
|
||
|
driSupport32Bit = true;
|
||
|
};
|
||
|
}
|