mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	format nix code after nixfmt update
This commit is contained in:
		@@ -3,12 +3,11 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../hybrid ];
 | 
			
		||||
  services.xserver.videoDrivers = [ "nvidia" ];
 | 
			
		||||
  hardware =
 | 
			
		||||
    {
 | 
			
		||||
      nvidia.prime.offload.enable = false;
 | 
			
		||||
    }
 | 
			
		||||
    // lib.optionalAttrs (options ? amdgpu.opencl.enable) {
 | 
			
		||||
      # introduced in https://github.com/NixOS/nixpkgs/pull/319865
 | 
			
		||||
      amdgpu.opencl.enable = lib.mkDefault false;
 | 
			
		||||
    };
 | 
			
		||||
  hardware = {
 | 
			
		||||
    nvidia.prime.offload.enable = false;
 | 
			
		||||
  }
 | 
			
		||||
  // lib.optionalAttrs (options ? amdgpu.opencl.enable) {
 | 
			
		||||
    # introduced in https://github.com/NixOS/nixpkgs/pull/319865
 | 
			
		||||
    amdgpu.opencl.enable = lib.mkDefault false;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user