18 lines
		
	
	
	
		
			361 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			361 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   lib,
 | |
|   config,
 | |
|   ...
 | |
| }: {
 | |
|   options.services.qbittorrent = {
 | |
|     mediaDir = lib.mkOption {
 | |
|       type = lib.types.path;
 | |
|       description = lib.mdDoc ''
 | |
|         The directory to create to store qbittorrent media.
 | |
|       '';
 | |
|     };
 | |
|   };
 | |
| 
 | |
|   config = lib.mkIf config.services.qbittorrent.enable {
 | |
|     # Main qbittorrent configuration goes here if needed
 | |
|   };
 | |
| }
 |