mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Merge pull request #253 from NixOS/thinkpad-x13
add lenovo-thinkpad-x13
This commit is contained in:
		@@ -131,6 +131,7 @@ See code for all available configurations.
 | 
				
			|||||||
| [Lenovo ThinkPad X1 (6th Gen)][]  | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>`      |
 | 
					| [Lenovo ThinkPad X1 (6th Gen)][]  | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>`      |
 | 
				
			||||||
| [Lenovo ThinkPad X1 (7th Gen)][]  | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>`      |
 | 
					| [Lenovo ThinkPad X1 (7th Gen)][]  | `<nixos-hardware/lenovo/thinkpad/x1/7th-gen>`      |
 | 
				
			||||||
| Lenovo ThinkPad X1 Extreme Gen 2  | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` |
 | 
					| Lenovo ThinkPad X1 Extreme Gen 2  | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` |
 | 
				
			||||||
 | 
					| [Lenovo ThinkPad X13][]           | `<nixos-hardware/lenovo/thinkpad/x13`              |
 | 
				
			||||||
| [Microsoft Surface Range][]       | `<nixos-hardware/microsoft/surface>`               |
 | 
					| [Microsoft Surface Range][]       | `<nixos-hardware/microsoft/surface>`               |
 | 
				
			||||||
| [Microsoft Surface Pro 3][]       | `<nixos-hardware/microsoft/surface-pro/3>`         |
 | 
					| [Microsoft Surface Pro 3][]       | `<nixos-hardware/microsoft/surface-pro/3>`         |
 | 
				
			||||||
| [MSI GS60 2QE][]                  | `<nixos-hardware/msi/gs60>`                        |
 | 
					| [MSI GS60 2QE][]                  | `<nixos-hardware/msi/gs60>`                        |
 | 
				
			||||||
@@ -166,6 +167,7 @@ See code for all available configurations.
 | 
				
			|||||||
[Inverse Path USB armory]: inversepath/usbarmory
 | 
					[Inverse Path USB armory]: inversepath/usbarmory
 | 
				
			||||||
[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen
 | 
					[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen
 | 
				
			||||||
[Lenovo ThinkPad X1 (7th Gen)]: lenovo/thinkpad/x1/7th-gen
 | 
					[Lenovo ThinkPad X1 (7th Gen)]: lenovo/thinkpad/x1/7th-gen
 | 
				
			||||||
 | 
					[Lenovo ThinkPad X13]: lenovo/thinkpad/x13
 | 
				
			||||||
[Lenovo ThinkPad X13 Yoga]: lenovo/thinkpad/x13-yoga
 | 
					[Lenovo ThinkPad X13 Yoga]: lenovo/thinkpad/x13-yoga
 | 
				
			||||||
[Lenovo ThinkPad X260]: lenovo/thinkpad/x260
 | 
					[Lenovo ThinkPad X260]: lenovo/thinkpad/x260
 | 
				
			||||||
[Microsoft Surface Pro 3]: microsoft/surface-pro/3
 | 
					[Microsoft Surface Pro 3]: microsoft/surface-pro/3
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -67,6 +67,7 @@
 | 
				
			|||||||
      lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen;
 | 
					      lenovo-thinkpad-x1-7th-gen = import ./lenovo/thinkpad/x1/7th-gen;
 | 
				
			||||||
      lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme;
 | 
					      lenovo-thinkpad-x1-extreme = import ./lenovo/thinkpad/x1-extreme;
 | 
				
			||||||
      lenovo-thinkpad-x1-extreme-gen2 = import ./lenovo/thinkpad/x1-extreme/gen2;
 | 
					      lenovo-thinkpad-x1-extreme-gen2 = import ./lenovo/thinkpad/x1-extreme/gen2;
 | 
				
			||||||
 | 
					      lenovo-thinkpad-x13 = import ./lenovo/thinkpad/x13;
 | 
				
			||||||
      lenovo-thinkpad-x13-yoga = import ./lenovo/thinkpad/x13-yoga;
 | 
					      lenovo-thinkpad-x13-yoga = import ./lenovo/thinkpad/x13-yoga;
 | 
				
			||||||
      microsoft-surface = import ./microsoft/surface;
 | 
					      microsoft-surface = import ./microsoft/surface;
 | 
				
			||||||
      microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
 | 
					      microsoft-surface-pro-3 = import ./microsoft/surface-pro/3;
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										12
									
								
								lenovo/thinkpad/x13/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								lenovo/thinkpad/x13/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					{ config, lib, ... }: {
 | 
				
			||||||
 | 
					  # Reference to hardware: https://certification.ubuntu.com/hardware/202004-27844
 | 
				
			||||||
 | 
					  imports = [
 | 
				
			||||||
 | 
					    ../.
 | 
				
			||||||
 | 
					    ../../../common/cpu/intel
 | 
				
			||||||
 | 
					    ../../../common/pc/laptop/acpi_call.nix
 | 
				
			||||||
 | 
					    ../../../common/pc/laptop/ssd
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Somehow psmouse does not load automatically on boot for me
 | 
				
			||||||
 | 
					  boot.kernelModules = [ "psmouse" ];
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user