summary refs log tree commit diff stats
path: root/modules/intel-gpu.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/intel-gpu.nix')
-rw-r--r--modules/intel-gpu.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/intel-gpu.nix b/modules/intel-gpu.nix
index 775396ae..b44ddadf 100644
--- a/modules/intel-gpu.nix
+++ b/modules/intel-gpu.nix
@@ -3,4 +3,12 @@
 { hardware.opengl.extraPackages = with pkgs; [
     vaapiIntel
   ];
+
+  boot.earlyVconsoleSetup = true;
+  boot.initrd.kernelModules = [
+    "i915"
+  ];
+  boot.kernelModules = [
+    "i915"
+  ];
 }