Add: neovim git configuration

This commit is contained in:
DuN0z 2025-10-22 08:18:41 +02:00
parent c6e5dc2762
commit 55aad968ab
5 changed files with 85 additions and 140 deletions

View file

@ -1,6 +1,5 @@
{pkgs, ...}: {
{pkgs, nvim-config, ...}: {
imports = [
../common/nvim.nix
../../hm/common/git.nix
../../hm/common/zsh.nix
];
@ -11,9 +10,36 @@
packages = with pkgs; [
bat
tree
ruff
pyright
gcc
marksman
lua-language-server
];
};
programs.neovim = {
enable = true ;
viAlias = true ;
vimAlias = true;
};
home.file.".config/nvim" = {
source = nvim-config ;
recursive = true ;
};
programs.zsh.enable = true;
programs.ruff = {
enable = true ;
settings = {
line-length = 100;
per-file-ignores = { "__init__.py" = [ "F401" ]; };
lint = {
select = [ "E4" "E7" "E9" "F" ];
ignore = [ ];
};
};
};
}
# vim: set ts=2 sw=2 sts=2 et :