Added matlab
This commit is contained in:
1 parent
76bc756b3e
commit
0c670125c3
7 files changed
+75
-22
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
# Import systemwide configuration files.
|
||||
./ide/matlab.nix
|
||||
./utilities/docker.nix
|
||||
];
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user