From 6e2eff33d7ddd85d34f9327ee0d46d518ce23c6d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 21 May 2024 10:42:10 +0200 Subject: [PATCH] Enable early loading for surface modules --- lib/hardware/surface.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/hardware/surface.nix b/lib/hardware/surface.nix index 6f8c0b0..5a2c3c7 100644 --- a/lib/hardware/surface.nix +++ b/lib/hardware/surface.nix @@ -5,6 +5,11 @@ thermald.enable = true; }; + boot.initrd.kernelModules = [ + "pinctrl_sunrisepoint" + "surface_dtx" + ]; + environment.systemPackages = [ pkgs.libcamera ];