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:
		@@ -1,16 +1,18 @@
 | 
			
		||||
{ lib, pkgs, ... }: {
 | 
			
		||||
{ lib, pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/ssd
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  # Includes the Wi-Fi and Bluetooth firmware for the QCA6390.
 | 
			
		||||
  hardware.enableRedistributableFirmware = true;
 | 
			
		||||
 | 
			
		||||
  # Requires at least 5.12 for working wi-fi and bluetooth.
 | 
			
		||||
  boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (lib.mkDefault pkgs.linuxPackages_latest);
 | 
			
		||||
  boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (
 | 
			
		||||
    lib.mkDefault pkgs.linuxPackages_latest
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  # Touchpad goes over i2c.
 | 
			
		||||
  # Without this we get errors in dmesg on boot and hangs when shutting down.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user