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:
ed08f4ba281f39ae3ae910263d6b6e9391a15b44faade869997f005d5b8b75be
  • Loading branch information
kuruczgy committed Dec 18, 2024
1 parent f3be9c4 commit 76b30f5
Show file tree
Hide file tree
Showing 2 changed files with 4 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
9 changes: 2 additions & 7 deletions modules/x1e80100.nix
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 76b30f5

Please sign in to comment.