mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
29 lines
510 B
Nix
29 lines
510 B
Nix
|
{
|
||
|
lib,
|
||
|
config,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
config = {
|
||
|
hardware.opengl = {
|
||
|
extraPackages = with pkgs; [
|
||
|
intel-media-driver
|
||
|
vaapiIntel
|
||
|
vaapiVdpau
|
||
|
libvdpau-va-gl
|
||
|
intel-ocl
|
||
|
];
|
||
|
extraPackages32 = with pkgs.pkgsi686Linux; [
|
||
|
intel-media-driver
|
||
|
vaapiIntel
|
||
|
vaapiVdpau
|
||
|
libvdpau-va-gl
|
||
|
];
|
||
|
};
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
nvtopPackages.intel
|
||
|
];
|
||
|
my.allowUnfreePackages = ["intel-ocl"];
|
||
|
};
|
||
|
}
|