Added matlab

This commit is contained in:
Jan-Bulthuis committed 2025-01-26 12:57:38 +01:00
1 parent 76bc756b3e
commit 0c670125c3
7 files changed
+75 -22

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
{
imports = [
# Import systemwide configuration files.
./ide/matlab.nix
./utilities/docker.nix
];
}
+22
View File
@@ -0,0 +1,22 @@
{
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
];
};
}