17 lines
		
	
	
	
		
			246 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			246 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, lib, ... }:
 | |
| let
 | |
|   cfg = config.systemProfile.mediaServer;
 | |
| in 
 | |
| {
 | |
|   imports = [
 | |
|     ../../modules
 | |
|   ];
 | |
|   
 | |
|   config = lib.mkIf cfg.enable {
 | |
|     systemModules = {
 | |
|       services = {
 | |
|         mediaServer.enable = true;
 | |
|       };
 | |
|     };
 | |
|   };
 | |
| }
 |