18 lines
531 B
Nix
18 lines
531 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
neovim-unwrapped
|
|
# outils dont lazy.nvim / les LSP ont besoin
|
|
ripgrep fd gcc gnumake nodejs unzip
|
|
lua-language-server stylua nil
|
|
(python3.withPackages (ps: with ps; [ pynvim ]))
|
|
];
|
|
|
|
home.sessionVariables.EDITOR = "nvim";
|
|
home.shellAliases = { vi = "nvim"; vim = "nvim"; };
|
|
|
|
# ~/.config/nvim -> tes dotfiles, éditables en place
|
|
xdg.configFile."nvim".source =
|
|
config.lib.file.mkOutOfStoreSymlink
|
|
"${config.home.homeDirectory}/nixos-config/dotfiles/nvim";
|
|
}
|