Add matlab
This commit is contained in:
@@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
llama-cpp.url = "github:ggerganov/llama.cpp";
|
llama-cpp.url = "github:ggerganov/llama.cpp";
|
||||||
|
|
||||||
|
nix-matlab.url = "gitlab:doronbehar/nix-matlab";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self
|
outputs = inputs@{ self
|
||||||
@@ -28,6 +30,7 @@
|
|||||||
, flake-utils
|
, flake-utils
|
||||||
, sops-nix
|
, sops-nix
|
||||||
, llama-cpp
|
, llama-cpp
|
||||||
|
, nix-matlab
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -234,7 +237,7 @@
|
|||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = with overlays; [ printrun shadps4 ];
|
overlays = with overlays; [ printrun shadps4 nix-matlab.overlay ];
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
|
|||||||
@@ -65,8 +65,10 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
localPackages.x86_64-linux.jhelioviewer
|
localPackages.x86_64-linux.jhelioviewer
|
||||||
bottles
|
bottles
|
||||||
|
matlab
|
||||||
discord
|
discord
|
||||||
wine
|
wine
|
||||||
|
matlab-language-server
|
||||||
];
|
];
|
||||||
|
|
||||||
services.printing.enable = false;
|
services.printing.enable = false;
|
||||||
|
|||||||
@@ -14,6 +14,14 @@ iron.setup {
|
|||||||
python = {
|
python = {
|
||||||
command = { "python3" }, -- or { "ipython", "--no-autoindent" }
|
command = { "python3" }, -- or { "ipython", "--no-autoindent" }
|
||||||
format = require("iron.fts.common").bracketed_paste_python
|
format = require("iron.fts.common").bracketed_paste_python
|
||||||
|
},
|
||||||
|
matlab = {
|
||||||
|
command = {
|
||||||
|
"matlab",
|
||||||
|
"-nosplash",
|
||||||
|
"-nodesktop"
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
-- How the repl window will be displayed
|
-- How the repl window will be displayed
|
||||||
|
|||||||
@@ -24,6 +24,16 @@ lspconfig.rust_analyzer.setup {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lspconfig.matlab_ls.setup {
|
||||||
|
capabilities = capabilities,
|
||||||
|
settings = {
|
||||||
|
MATLAB = {
|
||||||
|
indexWorkspace = false,
|
||||||
|
installPath = "",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
lspconfig.omnisharp.setup {
|
lspconfig.omnisharp.setup {
|
||||||
cmd = { "dotnet", "/usr/lib/omnisharp-roslyn/OmniSharp.dll"}
|
cmd = { "dotnet", "/usr/lib/omnisharp-roslyn/OmniSharp.dll"}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user