mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			538 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			538 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
 | 
						|
# This module is intended to support the Surface Pro range, specifically those with Intel CPUs.
 | 
						|
# It's expected it will work equally well on many other Surface models, but they may need further
 | 
						|
# config changes to work well.
 | 
						|
 | 
						|
let
 | 
						|
  inherit (lib) mkDefault;
 | 
						|
in {
 | 
						|
  imports = [
 | 
						|
    ../common
 | 
						|
    ../../../common/pc
 | 
						|
    ../../../common/pc/ssd
 | 
						|
    # The Intel CPU module auto-includes Intel's GPU:
 | 
						|
    ../../../common/cpu/intel
 | 
						|
  ];
 | 
						|
 | 
						|
  microsoft-surface.ipts.enable = true;
 | 
						|
  microsoft-surface.surface-control.enable = true;
 | 
						|
}
 |