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 catppuccin.nixosModules.catppuccin
confetti.nixosModules.default confetti.nixosModules.default
bbk.nixosModules.default bbk.nixosModules.default
nixvim.nixosModules.default
]; ];
}; };

View file

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

View file

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