mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			262 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			262 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib
 | 
						|
, pkgs
 | 
						|
, config
 | 
						|
, ...
 | 
						|
}:
 | 
						|
let
 | 
						|
  cfg = config.hardware.rockchip.rk3328;
 | 
						|
in {
 | 
						|
  options.hardware.rockchip.rk3328 = {
 | 
						|
    enable = lib.mkEnableOption "Rockchip RK3328 support";
 | 
						|
  };
 | 
						|
 | 
						|
  config = lib.mkIf cfg.enable {
 | 
						|
    hardware.rockchip.enable = true;
 | 
						|
  };
 | 
						|
}
 |