Intel Graphics: Difference between revisions
imported>Colemickens No edit summary |
imported>Colemickens No edit summary |
||
| Line 4: | Line 4: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
hardware.opengl.package = | config = { | ||
environment.variables = { | |||
MESA_LOADER_DRIVER_OVERRIDE = "iris"; | |||
} | }; | ||
hardware.opengl.package = (pkgs.mesa.override { | |||
galliumDrivers = [ "nouveau" "virgl" "swrast" "iris" ]; | |||
}); | |||
}; | |||
</syntaxHighlight> | </syntaxHighlight> | ||