initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{...}: {
|
||||
# Intel integrated GPU (mesa + VA-API hardware video acceleration).
|
||||
flake.nixosModules.gpuIntel = {pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mesa
|
||||
vulkan-tools
|
||||
];
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver # modern iHD driver (Broadwell+)
|
||||
intel-vaapi-driver # legacy i965 driver
|
||||
libva-vdpau-driver
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user