added nixvim
This commit is contained in:
parent
f347964ef9
commit
d516a6e283
3 changed files with 18 additions and 31 deletions
|
|
@ -91,6 +91,7 @@
|
|||
catppuccin.nixosModules.catppuccin
|
||||
confetti.nixosModules.default
|
||||
bbk.nixosModules.default
|
||||
nixvim.nixosModules.default
|
||||
];
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue