Added mathematica
This commit is contained in:
		
							parent
							
								
									02e5532cb3
								
							
						
					
					
						commit
						030c41f7a0
					
				| @ -2,6 +2,7 @@ | |||||||
| 
 | 
 | ||||||
| { | { | ||||||
|   imports = [ |   imports = [ | ||||||
|  |     ./ide/mathematica.nix | ||||||
|     ./ide/matlab.nix |     ./ide/matlab.nix | ||||||
|     ./language/cpp.nix |     ./language/cpp.nix | ||||||
|     ./language/haskell.nix |     ./language/haskell.nix | ||||||
|  | |||||||
							
								
								
									
										22
									
								
								user-modules/development/ide/mathematica.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								user-modules/development/ide/mathematica.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | |||||||
|  | { | ||||||
|  |   lib, | ||||||
|  |   config, | ||||||
|  |   pkgs, | ||||||
|  |   ... | ||||||
|  | }: | ||||||
|  | 
 | ||||||
|  | with lib; | ||||||
|  | let | ||||||
|  |   cfg = config.modules.mathematica; | ||||||
|  | in | ||||||
|  | { | ||||||
|  |   options.modules.mathematica = { | ||||||
|  |     enable = mkEnableOption "mathematica"; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   config = mkIf cfg.enable { | ||||||
|  |     home.packages = with pkgs; [ | ||||||
|  |       mathematica | ||||||
|  |     ]; | ||||||
|  |   }; | ||||||
|  | } | ||||||
| @ -95,6 +95,7 @@ | |||||||
|       vscode.enable = true; |       vscode.enable = true; | ||||||
|       docker.enable = true; |       docker.enable = true; | ||||||
|       matlab.enable = true; |       matlab.enable = true; | ||||||
|  |       mathematica.enable = true; | ||||||
| 
 | 
 | ||||||
|       # Languages |       # Languages | ||||||
|       haskell.enable = false; |       haskell.enable = false; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis