mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
28 lines
502 B
Nix
28 lines
502 B
Nix
{
|
|
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
|
|
];
|
|
allowedUnfreePackages = ["intel-ocl"];
|
|
};
|
|
}
|