check kernel modules one by one for now
This commit is contained in:
		@@ -21,7 +21,6 @@ in
 | 
				
			|||||||
  home = {
 | 
					  home = {
 | 
				
			||||||
    packages = with pkgs; [
 | 
					    packages = with pkgs; [
 | 
				
			||||||
      pamixer
 | 
					      pamixer
 | 
				
			||||||
      customscripts
 | 
					 | 
				
			||||||
      curl
 | 
					      curl
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
    file = {
 | 
					    file = {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  imports = 
 | 
					  imports = 
 | 
				
			||||||
  [
 | 
					  [
 | 
				
			||||||
    #<nixpkgs/nixos/modules/profiles/all-hardware.nix>
 | 
					 #   <nixpkgs/nixos/modules/profiles/all-hardware.nix>
 | 
				
			||||||
    ./marisa/pkgs.nix
 | 
					    ./marisa/pkgs.nix
 | 
				
			||||||
    ./marisa/networking.nix
 | 
					    ./marisa/networking.nix
 | 
				
			||||||
    ./marisa/stuff.nix
 | 
					    ./marisa/stuff.nix
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,42 @@
 | 
				
			|||||||
{config, ...}:
 | 
					{config, ...}:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  boot = {
 | 
					  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 = [ ];
 | 
					    initrd.kernelModules = [ ];
 | 
				
			||||||
    kernelModules = [ ];
 | 
					    kernelModules = [ ];
 | 
				
			||||||
    extraModulePackages = [ ];
 | 
					    extraModulePackages = [ ];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user