From a22f0e6bc760c4e606bb5817f651c1bc786a1e54 Mon Sep 17 00:00:00 2001 From: natto1784 Date: Sun, 23 May 2021 22:10:37 +0530 Subject: [PATCH] check kernel modules one by one for now --- home/ottan.nix | 1 - marisa.nix | 2 +- marisa/boot.nix | 37 ++++++++++++++++++++++++++++++++++++- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/home/ottan.nix b/home/ottan.nix index ce5882a..0cddfab 100644 --- a/home/ottan.nix +++ b/home/ottan.nix @@ -21,7 +21,6 @@ in home = { packages = with pkgs; [ pamixer - customscripts curl ]; file = { diff --git a/marisa.nix b/marisa.nix index 38e89d0..ef17bd8 100755 --- a/marisa.nix +++ b/marisa.nix @@ -2,7 +2,7 @@ { imports = [ - # + # ./marisa/pkgs.nix ./marisa/networking.nix ./marisa/stuff.nix diff --git a/marisa/boot.nix b/marisa/boot.nix index 7de7c5b..8dd422c 100755 --- a/marisa/boot.nix +++ b/marisa/boot.nix @@ -1,7 +1,42 @@ {config, ...}: { boot = { - initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas"]; + initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" +"ahci" + + "ata_piix" + + "sata_inic162x" "sata_nv" "sata_promise" "sata_qstor" + "sata_sil" "sata_sil24" "sata_sis" "sata_svw" "sata_sx4" + "sata_uli" "sata_via" "sata_vsc" + + "vc4" + + "pcie-brcmstb" + + # Rockchip + "dw-hdmi" + "dw-mipi-dsi" + "rockchipdrm" + "rockchip-rga" + "phy-rockchip-pcie" + "pcie-rockchip-host" + + # Misc. uncategorized hardware + + # Used for some platform's integrated displays + "panel-simple" + "pwm-bl" + + # Power supply drivers, some platforms need them for USB + "axp20x-ac-power" + "axp20x-battery" + "pinctrl-axp209" + "mp8859" + + # USB drivers + "xhci-pci-renesas" +]; initrd.kernelModules = [ ]; kernelModules = [ ]; extraModulePackages = [ ];