dotfiles/user-modules/development/ide/matlab.nix

23 lines
249 B
Nix

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