nixos-config/hm/users/lomig.nix

46 lines
840 B
Nix
Raw Normal View History

2025-10-22 08:18:41 +02:00
{pkgs, nvim-config, ...}: {
2025-09-04 10:21:17 +02:00
imports = [
2025-09-05 09:59:31 +02:00
../../hm/common/git.nix
2025-09-04 10:21:17 +02:00
../../hm/common/zsh.nix
];
home.stateVersion = "25.05"; # ou ton actuelle
home = {
username = "lomig";
homeDirectory = "/home/lomig";
packages = with pkgs; [
bat
tree
2025-10-22 08:18:41 +02:00
ruff
pyright
gcc
marksman
lua-language-server
2025-09-04 10:21:17 +02:00
];
};
2025-10-22 08:18:41 +02:00
programs.neovim = {
enable = true ;
viAlias = true ;
vimAlias = true;
};
home.file.".config/nvim" = {
source = nvim-config ;
recursive = true ;
};
2025-09-04 10:21:17 +02:00
programs.zsh.enable = true;
2025-10-22 08:18:41 +02:00
programs.ruff = {
enable = true ;
settings = {
line-length = 100;
per-file-ignores = { "__init__.py" = [ "F401" ]; };
lint = {
select = [ "E4" "E7" "E9" "F" ];
ignore = [ ];
};
};
};
2025-09-04 10:21:17 +02:00
}
# vim: set ts=2 sw=2 sts=2 et :