diff --git a/iso.nix b/iso.nix index 93acc84..7711d0e 100644 --- a/iso.nix +++ b/iso.nix @@ -5,6 +5,8 @@ boot.supportedFilesystems.zfs = lib.mkForce false; boot.supportedFilesystems.cifs = lib.mkForce false; + hardware.enableAllHardware = lib.mkForce false; + # For some reason the adsp booting up messes with USB boot, so disable it. boot.blacklistedKernelModules = [ "qcom_q6v5_pas" ]; diff --git a/modules/x1e80100.nix b/modules/x1e80100.nix index 530e73c..da4eab1 100644 --- a/modules/x1e80100.nix +++ b/modules/x1e80100.nix @@ -1,13 +1,8 @@ { pkgs, lib, ... }: { - boot.initrd.availableKernelModules = lib.mkForce [ - # Needed by the NixOS iso for booting in general - "squashfs" - "iso9660" - "uas" - "overlay" - + boot.initrd.includeDefaultModules = false; + boot.initrd.availableKernelModules = [ # Definitely needed for USB: "usb_storage" "phy_qcom_qmp_combo"