Skip to content

Commit

Permalink
Remove usage of boot.initrd.availableKernelModules = lib.mkForce [
Browse files Browse the repository at this point in the history
This should make it easier for users of the module to add their own
additional initrd modules, e.g. for disk encryption.

The ISO should be reproducible and have the following SHA256 hash:
c0f2c848af53e80d5f987fe23c62852447e7d360114c5649d9e9e51988b18a1e
  • Loading branch information
kuruczgy committed Dec 18, 2024
1 parent f3be9c4 commit 48fadc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions iso.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];

Expand Down
10 changes: 3 additions & 7 deletions modules/x1e80100.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{ 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.systemd.tpm2.enable = false; # This also pulls in some modules our kernel is not build with.
boot.initrd.availableKernelModules = [
# Definitely needed for USB:
"usb_storage"
"phy_qcom_qmp_combo"
Expand Down

0 comments on commit 48fadc2

Please sign in to comment.