17 lines
		
	
	
	
		
			292 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			292 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { lib, ... }:
 | |
| 
 | |
| {
 | |
|   imports = [
 | |
|     ./bluetooth.nix
 | |
|     ./backlight.nix
 | |
|   ];
 | |
| 
 | |
|   options.systemModules.hardware = {
 | |
|     bluetooth = {
 | |
|       enable = lib.mkEnableOption "Enable bluetooth module";
 | |
|     };
 | |
|     backlight= {
 | |
|       enable = lib.mkEnableOption "Enable backlight module";
 | |
|     };
 | |
|   };
 | |
| }
 |