mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
		@@ -14,13 +14,17 @@
 | 
			
		||||
  hardware.enableRedistributableFirmware = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  # Fix for not detecting the M.2 NVMe SSD. Will cause recompilation.
 | 
			
		||||
  boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.10") (lib.mkDefault pkgs.linuxPackages_latest);
 | 
			
		||||
  boot.kernelPatches = lib.mkDefault [{
 | 
			
		||||
    name = "pcie-rockchip-config.patch";
 | 
			
		||||
    patch = null;
 | 
			
		||||
    extraConfig = ''
 | 
			
		||||
      PHY_ROCKCHIP_PCIE y
 | 
			
		||||
      PCIE_ROCKCHIP_HOST y
 | 
			
		||||
    '';
 | 
			
		||||
  }];
 | 
			
		||||
  boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.10") (
 | 
			
		||||
    lib.mkDefault pkgs.linuxPackages_latest
 | 
			
		||||
  );
 | 
			
		||||
  boot.kernelPatches = lib.mkDefault [
 | 
			
		||||
    {
 | 
			
		||||
      name = "pcie-rockchip-config.patch";
 | 
			
		||||
      patch = null;
 | 
			
		||||
      extraConfig = ''
 | 
			
		||||
        PHY_ROCKCHIP_PCIE y
 | 
			
		||||
        PCIE_ROCKCHIP_HOST y
 | 
			
		||||
      '';
 | 
			
		||||
    }
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user