diff --git a/user-modules/development/default.nix b/user-modules/development/default.nix index 3a1c3ad..ca88216 100644 --- a/user-modules/development/default.nix +++ b/user-modules/development/default.nix @@ -2,6 +2,7 @@ { imports = [ + ./ide/mathematica.nix ./ide/matlab.nix ./language/cpp.nix ./language/haskell.nix diff --git a/user-modules/development/ide/mathematica.nix b/user-modules/development/ide/mathematica.nix new file mode 100644 index 0000000..e92ef0c --- /dev/null +++ b/user-modules/development/ide/mathematica.nix @@ -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 + ]; + }; +} diff --git a/users/jan.nix b/users/jan.nix index dd1d856..514109d 100644 --- a/users/jan.nix +++ b/users/jan.nix @@ -95,6 +95,7 @@ vscode.enable = true; docker.enable = true; matlab.enable = true; + mathematica.enable = true; # Languages haskell.enable = false;