added nixvim

This commit is contained in:
fwastring 2025-12-01 10:13:33 +01:00
parent f347964ef9
commit d516a6e283
3 changed files with 18 additions and 31 deletions

View file

@ -91,6 +91,7 @@
catppuccin.nixosModules.catppuccin
confetti.nixosModules.default
bbk.nixosModules.default
nixvim.nixosModules.default
];
};

View file

@ -24,6 +24,7 @@ in
../../moduler/sound.nix
../../moduler/programs/kubernetes-tools.nix
../../moduler/programs/confetti
../../moduler/programs/nixvim
];
kubernetes-tools.enable = true;
@ -39,6 +40,11 @@ in
theme = theme;
};
nixvim = {
enable = true;
theme = theme;
};
home-manager.extraSpecialArgs = { inherit inputs pkgs; };
home-manager.users.fw = {
imports = [

View file

@ -36,9 +36,6 @@ with lib;
};
};
#################################
## Neovim options
#################################
opts = {
number = true;
relativenumber = true;
@ -54,9 +51,6 @@ with lib;
globals.mapleader = " ";
#################################
## Keymaps
#################################
keymaps = [
# Telescope
{
@ -182,9 +176,6 @@ with lib;
}
];
#################################
## Plugins
#################################
plugins = {
web-devicons.enable = true;
@ -201,7 +192,7 @@ with lib;
];
lualine_y = [ "buffers" ];
};
sections = {
inactive_sections = {
lualine_a = [];
lualine_b = [];
lualine_c = [];
@ -298,27 +289,16 @@ with lib;
};
};
enableMan = false;
#################################
## LSP
#################################
#################################
## Autocommands
#################################
autoCmd = [
{
event = [
"BufRead"
"BufNewFile"
];
pattern = "*.{md,typ}";
callback = "vim.opt_local.spell = true";
}
];
#################################
## Colorscheme
#################################
# autoCmd = [
# {
# event = [
# "BufRead"
# "BufNewFile"
# ];
# pattern = "*.{md,typ}";
# callback = "vim.opt_local.spell = true";
# }
# ];
};
};