15 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, lib, pkgs, namespace, ... }:
 | |
| let
 | |
|   inherit (lib) mkEnableOption mkIf;
 | |
| 
 | |
|   cfg = config.${namespace}.development.rust;
 | |
| in
 | |
| {
 | |
|   options.${namespace}.development.rust = {
 | |
|     enable = mkEnableOption "Enable rust development tools";
 | |
|   };
 | |
| 
 | |
|   config = mkIf cfg.enable {
 | |
| 
 | |
|   };
 | |
| }
 |