23 lines
269 B
Nix
Raw Normal View History

2025-01-30 19:05:44 +01:00
{
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
];
};
}