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