mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Apply suggestions from code review
Accepting suggestions. 16irx8h should be fixed as well. Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							1881126e2d
						
					
				
				
					commit
					684d64c67d
				
			@@ -12,12 +12,10 @@
 | 
			
		||||
    ../../../common/hidpi.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.initrd.kernelModules = ["nvidia"];
 | 
			
		||||
  boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module config.boot.kernelPackages.nvidia_x11];
 | 
			
		||||
  boot.extraModulePackages = [config.boot.kernelPackages.lenovo-legion-module];
 | 
			
		||||
 | 
			
		||||
  hardware = {
 | 
			
		||||
    nvidia = {
 | 
			
		||||
      modesetting.enable = lib.mkDefault true;
 | 
			
		||||
      powerManagement.enable = lib.mkDefault true;
 | 
			
		||||
      #
 | 
			
		||||
      prime = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user