This commit is contained in:
2024-12-20 19:42:09 -05:00
parent ab70f1f9f9
commit abc55c6d4e
9 changed files with 340 additions and 61 deletions

View File

@@ -8,18 +8,18 @@
font = {
name = "JetBrainsMono Nerd Font Mono";
size = 12;
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
package = pkgs.nerd-fonts.jetbrains-mono;
};
shellIntegration = {
enableZshIntegration = true;
};
themeFile = "kanagawa";
themeFile = "Modus_Vivendi";
# darwinLaunchOptions = [
# "--single-instance"
# ];
settings = {
background_opacity = "0.9";
background_blur = 5;
};
# settings = {
# background_opacity = "0.9";
# background_blur = 5;
# };
};
}

View File

@@ -0,0 +1,11 @@
{
pkgs,
config,
...
}: {
programs = {
texlive = {
enable = true;
};
};
}

View File

@@ -2,6 +2,7 @@
inputs,
pkgs,
config,
lib,
...
}: {
imports = [
@@ -15,11 +16,12 @@ config,
programs.nixvim = {
enable = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
defaultEditor = true;
vimdiffAlias = true;
colorschemes = {
kanagawa = {
modus = {
enable = true;
};
};
@@ -87,6 +89,27 @@ config,
key = "<leader>zn";
action = "<cmd>ZkNew<CR>";
}
# quickfix/location list
{
mode = "n";
key = "]q";
action = "<cmd>cnext<CR>zz";
}
{
mode = "n";
key = "[q";
action = "<cmd>cprev<CR>zz";
}
{
mode = "n";
key = "]l";
action = "<cmd>lnext<CR>zz";
}
{
mode = "n";
key = "[l";
action = "<cmd>lprev<CR>zz";
}
# gitsigns
{
mode = "n";
@@ -284,6 +307,9 @@ config,
sleuth = {
enable = true;
};
spectre = {
enable = true;
};
treesitter = {
enable = true;
folding = true;
@@ -327,6 +353,7 @@ config,
ai = {
n_lines = 500;
};
splitjoin = {};
surround = {};
statusline = {
use_icons = true;
@@ -334,6 +361,7 @@ config,
comment = {};
trailspace = {};
pick = {};
jump = {};
};
};
zk = {
@@ -342,9 +370,36 @@ config,
picker = "minipick";
};
};
render-markdown = {
obsidian = {
enable = true;
settings = {
completion = {
min_chars = 1;
nvim_cmp = true;
};
notes_subir = "notes";
new_notes_location = "notes_subdir";
templates = {
folder = "templates";
};
workspaces = [
{
name = "personal";
path = "~/vaults/personal";
}
];
picker = {
name = "mini.pick";
};
daily_notes = {
folder = "dailies";
default_tags = [ "type/daily" ];
};
};
};
# render-markdown = {
# enable = true;
# };
friendly-snippets = {
enable = true;
};
@@ -359,7 +414,6 @@ config,
};
cmp = {
enable = true;
settings = {
snippet = {
expand = ''
@@ -470,6 +524,9 @@ config,
bashls = {
enable = true;
};
clangd = {
enable = true;
};
};
keymaps = {
diagnostic = {
@@ -497,6 +554,12 @@ config,
};
};
};
nvim-jdtls = {
enable = true;
cmd = [
(lib.getExe pkgs.jdt-language-server)
];
};
};
};
}

View File

@@ -12,6 +12,12 @@
};
nushell = {
enable = true;
extraConfig = ''
edit_mode: vim
'';
};
direnv = {
enableNushellIntegration = true;
};
zoxide = {
enable = true;

View File

@@ -8,7 +8,6 @@
{
programs = {
tmux = {
shell = "${pkgs.zsh}/bin/zsh";
enable = true;
shortcut = "Space";
mouse = true;