mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
		@@ -2,7 +2,8 @@
 | 
			
		||||
  lib,
 | 
			
		||||
  config,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
}:
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
    ../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
@@ -12,8 +13,11 @@
 | 
			
		||||
    ../../../common/hidpi.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.initrd.kernelModules = ["nvidia"];
 | 
			
		||||
  boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module config.boot.kernelPackages.nvidia_x11];
 | 
			
		||||
  boot.initrd.kernelModules = [ "nvidia" ];
 | 
			
		||||
  boot.extraModulePackages = [
 | 
			
		||||
    config.boot.kernelPackages.lenovo-legion-module
 | 
			
		||||
    config.boot.kernelPackages.nvidia_x11
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware = {
 | 
			
		||||
    nvidia = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user