forked from jan-leila/nix-config
		
	refactor: split configurations for fail2ban, postgres, and qbittorent into folders
This commit is contained in:
		
							parent
							
								
									ad04be6534
								
							
						
					
					
						commit
						0f5507c328
					
				
					 13 changed files with 296 additions and 263 deletions
				
			
		
							
								
								
									
										18
									
								
								modules/nixos-modules/server/qbittorent/qbittorent.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								modules/nixos-modules/server/qbittorent/qbittorent.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| { | ||||
|   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 | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue