Changed: minor stuff; Added: Optimisation of nix
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
"logo": {
|
||||
"type": "kitty-icat",
|
||||
"source": "~/Pictures/Avatar/avatar_no_bg.png",
|
||||
//"height": 15,
|
||||
"width": 40,
|
||||
// "height": 15,
|
||||
"width": 36,
|
||||
"padding": {
|
||||
"top": 0,
|
||||
"left": 0
|
||||
@@ -31,11 +31,6 @@
|
||||
"key": "│ ├",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": "│ ├",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": "│ ├",
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
#on_press.__raw = "function() require('yazi').yazi() end";
|
||||
opts = {
|
||||
keymap = [ "n" "a" ":AvanteChatNew<CR>" { } ];
|
||||
shortcut = "y";
|
||||
shortcut = "a";
|
||||
position = "center";
|
||||
cursor = 3;
|
||||
width = 50;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
./alpha.nix
|
||||
./avante.nix
|
||||
./openscad.nix
|
||||
./jupytext.nix
|
||||
./molten.nix
|
||||
./live-server.nix
|
||||
./which-key.nix
|
||||
];
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{ ... }: {
|
||||
# Jupytext: Execute Jupyter notebooks directly in Neovim
|
||||
programs.nixvim.jupytext = {
|
||||
enable = true;
|
||||
settings = {
|
||||
custom_language_formatting = {
|
||||
python = {
|
||||
extension = "md";
|
||||
force_ft = "markdown";
|
||||
style = "markdown";
|
||||
};
|
||||
};
|
||||
force_ft = null;
|
||||
output_extension = "auto";
|
||||
style = "light";
|
||||
};
|
||||
};
|
||||
}
|
||||
43
home/neovim/molten.nix
Normal file
43
home/neovim/molten.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.nixvim = {
|
||||
plugins.molten = {
|
||||
enable = true;
|
||||
python3Dependencies = p:
|
||||
with p; [
|
||||
pynvim
|
||||
jupyter-client
|
||||
cairosvg
|
||||
ipython
|
||||
nbformat
|
||||
ipykernel
|
||||
pnglatex
|
||||
plotly
|
||||
kaleido
|
||||
pyperclip
|
||||
];
|
||||
settings = {
|
||||
kernel_name = "python3";
|
||||
auto_open_output = true;
|
||||
output_win_max_width = 80;
|
||||
output_win_max_height = 20;
|
||||
};
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>ml";
|
||||
action = "<cmd>MoltenEvaluateLine<CR>";
|
||||
options.desc = "Molten: Evaluate line";
|
||||
options.silent = true;
|
||||
}
|
||||
{
|
||||
mode = "v";
|
||||
key = "<leader>mv";
|
||||
action = "<Cmd>MoltenEvaluateVisual<CR>";
|
||||
options.desc = "Molten: Evaluate selection";
|
||||
options.silent = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
1
home/onlyoffice.nix
Normal file
1
home/onlyoffice.nix
Normal file
@@ -0,0 +1 @@
|
||||
_: { programs.onlyoffice.enable = true; }
|
||||
Reference in New Issue
Block a user