aboutsummaryrefslogtreecommitdiff
path: root/system/graphics.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/graphics.nix')
-rw-r--r--system/graphics.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/graphics.nix b/system/graphics.nix
new file mode 100644
index 0000000..e2d9629
--- /dev/null
+++ b/system/graphics.nix
@@ -0,0 +1,13 @@
+{pkgs, ...}: {
+ services.xserver.videoDrivers = ["intel"];
+
+ hardware.graphics = {
+ enable = true;
+ extraPackages = with pkgs; [
+ intel-vaapi-driver
+ intel-media-driver
+ intel-compute-runtime
+ mesa
+ ];
+ };
+}