mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			276 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			276 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/amd
 | 
						|
    ../../../common/gpu/nvidia
 | 
						|
    ../../../common/pc/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  # TPM2 module
 | 
						|
  security.tpm2.enable = true;
 | 
						|
 | 
						|
  # Device could have multiple architectures, but they all support open
 | 
						|
  hardware.nvidia.open = true;
 | 
						|
}
 |