mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	dell-precision-5530: remove unnecessary default nvidia options
In the nvidia module, we already disable the open source driver and we default to the stable nvidia package
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
{ lib, config, ... }:
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
@@ -29,19 +29,17 @@
 | 
			
		||||
 | 
			
		||||
  hardware = {
 | 
			
		||||
    nvidia = {
 | 
			
		||||
      open = lib.mkDefault false;
 | 
			
		||||
      nvidiaSettings = lib.mkDefault true;
 | 
			
		||||
      modesetting.enable = lib.mkDefault true;
 | 
			
		||||
      package = lib.mkDefault config.boot.kernelPackages.nvidiaPackages.stable;
 | 
			
		||||
      prime = {
 | 
			
		||||
        intelBusId = lib.mkDefault "PCI:0:2:0";
 | 
			
		||||
        nvidiaBusId = lib.mkDefault "PCI:1:0:0";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
  # This will save you money and possibly your life!
 | 
			
		||||
  services = {
 | 
			
		||||
    fwupd.enable = lib.mkDefault true;
 | 
			
		||||
     # This will save you money and possibly your life!
 | 
			
		||||
    thermald.enable = lib.mkDefault true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user