summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/grub2.nix1
-rw-r--r--modules/intel-gpu.nix8
2 files changed, 8 insertions, 1 deletions
diff --git a/modules/grub2.nix b/modules/grub2.nix
index be78a60..6eaa8cc 100644
--- a/modules/grub2.nix
+++ b/modules/grub2.nix
@@ -9,5 +9,4 @@
     };
     efi.canTouchEfiVariables = true;
   };
-  boot.earlyVconsoleSetup = true;
 }
diff --git a/modules/intel-gpu.nix b/modules/intel-gpu.nix
index 775396a..b44ddad 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"
+  ];
 }