{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.modules.matlab;
in
options.modules.matlab = {
enable = mkEnableOption "matlab";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
matlab
];
}