mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	- We should not enable canTouchEfiVariables by default as this wears out the EFI storage. - We should not set systemd-boot as default. This is up to the user to decide. There are exceptions when hardware only supports specific bootloaders so.
		
			
				
	
	
		
			18 lines
		
	
	
		
			315 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			315 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, pkgs, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../.
 | 
						|
    ../../../common/pc/laptop/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  # TODO: reverse compat
 | 
						|
  hardware.opengl.driSupport32Bit = true;
 | 
						|
 | 
						|
  services.xserver = {
 | 
						|
    # TODO: we should not enable unfree drivers
 | 
						|
    # when there is an alternative (i.e. nouveau)
 | 
						|
    videoDrivers = [ "nvidia" ];
 | 
						|
  };
 | 
						|
}
 |