about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-14 21:00:21 +0900
committersefidel <contact@sefidel.net>2023-09-14 21:00:21 +0900
commit54410b5aa8b568ea01a7b1895073b40c3699f1e0 (patch)
treef0364910ed7888ae269a30cbef02270b5dece8c9 /nixos
parent3fea50da32e5cd7efd57c7d2f916eaebf3ce9b60 (diff)
downloadnixrc-54410b5aa8b568ea01a7b1895073b40c3699f1e0.tar.gz
nixrc-54410b5aa8b568ea01a7b1895073b40c3699f1e0.zip
feat(nixos/haruka): load i915 driver on early stages
Diffstat (limited to 'nixos')
-rw-r--r--nixos/haruka/configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index 41dfc4a..d6cba4b 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -13,8 +13,13 @@
   boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
   boot.kernelParams = [
     "console=tty1"
+    "i915.fastboot=1"
   ];
 
+  # Load the intel iGPU driver
+  boot.initrd.kernelModules = [ "i915" ];
+  services.xserver.videoDrivers = [ "intel" ];
+
   boot.initrd.supportedFilesystems = [ "zfs" ];
   boot.supportedFilesystems = [ "zfs" ];
   boot.zfs.enableUnstable = true;