Added mathematica

This commit is contained in:
Jan-Bulthuis 2025-01-30 19:05:44 +01:00
parent 02e5532cb3
commit 030c41f7a0
3 changed files with 24 additions and 0 deletions

View File

@ -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

View 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
];
};
}

View File

@ -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;