mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			43ffe9ac82
			...
			201810/x23
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					da2e972988 | 
							
								
								
									
										8
									
								
								lenovo/thinkpad/x230/common.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								lenovo/thinkpad/x230/common.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../.
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.kernelModules = [ "tpm-rng" ];
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3
									
								
								lenovo/thinkpad/x230/coreboot/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lenovo/thinkpad/x230/coreboot/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
{
 | 
			
		||||
  imports = [ ../common.nix ];
 | 
			
		||||
}
 | 
			
		||||
@@ -1,19 +1,6 @@
 | 
			
		||||
{ config, lib, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../.
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
    ./common.nix
 | 
			
		||||
    ../../../common/pc/laptop/acpi_call.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot = {
 | 
			
		||||
    kernelModules = [
 | 
			
		||||
      "tpm-rng"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.xserver.deviceSection = lib.mkDefault ''
 | 
			
		||||
    Option "TearFree" "true"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user