19 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, config, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (lib) types mkOption;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ./bluetooth
 | 
						|
    ./backlight
 | 
						|
    ./battery
 | 
						|
  ];
 | 
						|
 | 
						|
  options.systemModules.hardware.features = mkOption {
 | 
						|
    type = with types; listOf (enum ["bluetooth" "backlight" "battery"]);
 | 
						|
    default = [];
 | 
						|
    description = "What extra hardware feature system modules to use";
 | 
						|
  };
 | 
						|
}
 |