From a3305c5af5666ca2e33991116afb829475dc1934 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sun, 28 Jan 2024 21:54:43 +0100 Subject: [PATCH] x13s-rmvbl: attempt to load msm with firmware --- nix/os/devices/steveej-x13s-rmvbl/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nix/os/devices/steveej-x13s-rmvbl/configuration.nix b/nix/os/devices/steveej-x13s-rmvbl/configuration.nix index 6e902e6..eae1137 100644 --- a/nix/os/devices/steveej-x13s-rmvbl/configuration.nix +++ b/nix/os/devices/steveej-x13s-rmvbl/configuration.nix @@ -130,6 +130,17 @@ loader.efi.canTouchEfiVariables = lib.mkForce false; loader.efi.efiSysMountPoint = "/boot"; blacklistedKernelModules = [ "wwan" ]; + + initrd.kernelModules = [ + "phy_qcom_qmp_usb" + "uas" + + "msm" + ]; + + initrd.extraFiles = { + "firmware/qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn".source = nodeFlake.inputs.nixos-x13s.packages.${system}."x13s/extra-firmware"; + }; }; # see https://linrunner.de/tlp/