added neovim with wrapper to avoid errors

This commit is contained in:
afoucaultc 2026-07-05 23:59:32 +02:00
parent 2ef8eba58a
commit 39f608c4ca
13 changed files with 2967 additions and 3098 deletions

View file

@ -1,15 +1,18 @@
{ config, pkgs, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
home.packages = with pkgs; [
ripgrep fd gcc nodejs unzip
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 ]))
(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";
}

View file

@ -1,6 +1,6 @@
{ pkgs, inputs, ... }:
{
programs.pass = {
programs.password-store = {
enable = true;
};
}