From ad5bb6d5d06f7adab27ca3dc83334e46830d0c7e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 27 Oct 2023 23:14:57 -0500 Subject: [PATCH] feat(luna): set correct boot kernel modules --- hosts/luna/os/boot.nix | 13 ++++++++++--- hosts/luna/os/default.nix | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/hosts/luna/os/boot.nix b/hosts/luna/os/boot.nix index cb68987..bce6634 100644 --- a/hosts/luna/os/boot.nix +++ b/hosts/luna/os/boot.nix @@ -1,8 +1,15 @@ -{ ... }: +{ modulesPath, ... }: { - boot = { + + imports = + [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.extraModulePackages = [ ]; + boot = { initrd = { - availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + availableKernelModules = [ "xhci_pci" "ahci" "nvme" "uas" "sd_mod" ]; kernelModules = [ ]; }; loader = { diff --git a/hosts/luna/os/default.nix b/hosts/luna/os/default.nix index 224a17f..88dcd6f 100644 --- a/hosts/luna/os/default.nix +++ b/hosts/luna/os/default.nix @@ -1,4 +1,4 @@ -{ ... }: +{ modulesPath, ... }: { imports = [