diff --git a/user-modules/development/default.nix b/user-modules/development/default.nix index 510de54..8cb842a 100644 --- a/user-modules/development/default.nix +++ b/user-modules/development/default.nix @@ -2,7 +2,7 @@ { imports = [ - ./ide/mathematica.nix + ./ide/mathematica/default.nix ./ide/matlab.nix # TODO: Move languages to make clear it is just IDE configuration # Languages should be installed with devShells, however the IDE must be configured globally diff --git a/user-modules/development/ide/mathematica/.gitignore b/user-modules/development/ide/mathematica/.gitignore new file mode 100644 index 0000000..714dc0c --- /dev/null +++ b/user-modules/development/ide/mathematica/.gitignore @@ -0,0 +1 @@ +Wolfram_14.1.0_Lin_Bndl.sh \ No newline at end of file diff --git a/user-modules/development/ide/mathematica.nix b/user-modules/development/ide/mathematica/default.nix similarity index 59% rename from user-modules/development/ide/mathematica.nix rename to user-modules/development/ide/mathematica/default.nix index ffb32a8..e4c2c8f 100644 --- a/user-modules/development/ide/mathematica.nix +++ b/user-modules/development/ide/mathematica/default.nix @@ -8,6 +8,11 @@ with lib; let cfg = config.modules.mathematica; + + my-mathematica = pkgs.mathematica.override { + # TODO: Just use a generic name for the installer? + source = ./Wolfram_14.1.0_LIN_Bndl.sh; + }; in { options.modules.mathematica = { @@ -19,8 +24,8 @@ in "mathematica" ]; - home.packages = with pkgs; [ - mathematica + home.packages = [ + my-mathematica ]; }; }