WIP: x13s-rmvbl

supposedly this will boot from USB
This commit is contained in:
steveej 2024-02-08 20:59:47 +01:00
parent 5ab45aee0e
commit 03bbcabe2e

View file

@ -130,17 +130,40 @@
blacklistedKernelModules = ["wwan"]; blacklistedKernelModules = ["wwan"];
initrd.kernelModules = [ initrd.kernelModules = [
"phy_qcom_qmp_usb"
"uas" "uas"
"usb_storage"
"phy_qcom_qmp_pcie"
"phy_qcom_qmp_combo"
"phy_qcom_snps_femto_v2"
"phy_qcom_qmp_pcie"
"phy_qcom_qmp_usb"
"xhci-pci-renesas"
"msm" "msm"
]; ];
initrd.extraFiles = { initrd.extraFiles = {
"firmware/qcom/sc8280xp/LENOVO/21BX/adspr.jsn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/adspua.jsn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/audioreach-tplg.bin".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/battmgr.jsn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/cdspr.jsn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn".source = nodeFlake.inputs.nixos-x13s.packages.${system}."x13s/extra-firmware"; "firmware/qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn".source = nodeFlake.inputs.nixos-x13s.packages.${system}."x13s/extra-firmware";
}; };
}; };
hardware.firmware = [
pkgs.linux-firmware
nodeFlake.inputs.nixos-x13s.packages.${system}."x13s/extra-firmware"
];
hardware.enableAllFirmware = true;
# see https://linrunner.de/tlp/ # see https://linrunner.de/tlp/
services.tlp = { services.tlp = {
enable = true; enable = true;