Fix: nvim config in separate file

This commit is contained in:
DuN0z 2025-10-22 09:37:47 +02:00
parent 55aad968ab
commit 1a2f93f977
2 changed files with 35 additions and 28 deletions

View file

@ -1,45 +1,20 @@
{pkgs, nvim-config, ...}: {
imports = [
../../hm/common/git.nix
../../hm/common/nvim.nix
../../hm/common/zsh.nix
];
home.stateVersion = "25.05"; # ou ton actuelle
home = {
username = "lomig";
homeDirectory = "/home/lomig";
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 = [ ];
};
};
};
home.stateVersion = "25.05"; # ou ton actuelle
}
# vim: set ts=2 sw=2 sts=2 et :