mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	thinkpad/x230: init
This commit is contained in:
		
							
								
								
									
										24
									
								
								lenovo/thinkpad/x230/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								lenovo/thinkpad/x230/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
{ config, lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
with lib; {
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../.
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot = {
 | 
			
		||||
    kernelModules = [
 | 
			
		||||
      "acpi_call"
 | 
			
		||||
      "tpm-rng"
 | 
			
		||||
    ];
 | 
			
		||||
    extraModulePackages = with config.boot.kernelPackages; [
 | 
			
		||||
      acpi_call
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hardware.opengl.extraPackages = with pkgs; [
 | 
			
		||||
    vaapiIntel
 | 
			
		||||
    vaapiVdpau
 | 
			
		||||
    libvdpau-va-gl
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user